Re: [gtk-list] IPC
- From: Dave Cole <dave dccs com au>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] IPC
- Date: 18 Nov 1998 03:18:44 +1100
>>>>> "Koe" == Koe Kaniini <koe@kapi.net> writes:
Koe> I have a file descriptor which I have to read for data and when
Koe> there is some data coming I need to execute a function to handle
Koe> that data.
Koe> With Xt you use XtAppAddInput. Is there anything similar in GTK ?
static void read_CB(gpointer data, gint fd, GdkInputCondition condition)
{
}
readId = gdk_input_add(fd, GDK_INPUT_READ, read_CB, NULL);
:
gdk_input_remove(readId);
- Dave
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS dpu s-:+ a C++$ ULS++$ P+++$>++++ L++>+++$ E+>++ W N++ !o K w++$ O !M-
!V(-) PS+ PE- Y+ PGP !t-- 5++ X R tv b+ DI+++ D G e++ h--- r+++ y++++
------END GEEK CODE BLOCK------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]