gdk_input_add
- From: Meghal Harish Varia <varia ecf utoronto ca>
- To: gtk-list gnome org
- Subject: gdk_input_add
- Date: Tue, 31 Oct 2000 17:13:26 -0500 (EST)
Hello,
I use gdk_input_add in my program as follows:
{
sd=socket(AF_INET,SOCK_STREAM,0);
/* I check if a valid socket is returnet */
gdk_input_add(sd, GDK_INPUT_READ,incoming_message,NULL);
}
and then i declare:
static void
incoming_message (gpointer data, gint source, GdkInputCondition cond)
{
}
It compiles fine, and the gdk_input_add line seems to be executed,
However, incoming_message is never called.. why??
Thanks,
Meghal
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]