Re: [gtk-list] problem
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] problem
- Date: Mon, 22 Mar 1999 13:56:34 -0500
> Hello, i'm working on a small telnet program which needs to wait for
> data on a socket.. and because of having to call gtk_main, i can't think
> of any ways to do this without threads
Use the gdk_input_add() and gdk_input_remove() functions. The effect
is that when data comes in, the callback you specify will be invoked.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]