Re: Reviving gweather



On Thu, 19 Oct 2000, [iso-8859-1] Knut Olav Bøhmer wrote:

> 
> 
> Hi,
> 
> Does gtk or gnome provide anny method for nonblocking i/o like select() or
> poll()? that fex. emits a signal every time there is something to read on
> the socket.

Yes.  You are looking for gdk_input_add().  That allows you to integrate
IO callbacks into your program's event loop.

James.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]