Re: gdk_input_add

From: Date: Mon, 20 Sep 2004 21:32:13 +0000
Subject: Re: gdk_input_add
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5105@lists.php.net to get a copy of this message
On Mon, 20 Sep 2004, Xavier GARREAU wrote: > Hi folks, > > I recently subscribed to this list. I'm no php guru ! I just wrote a > tutorial about using php-gtk for the french magazine called GNU/Linux > Magazine France. (the article can be found here: > http://www.xgarreau.org/aide/devel/phpgtk/ but it's > written in french > language). > > Here's now why i'm here. I started looking at php-gtk to develop an IM > client for a server i'm currently developping for fun. I would like to > use gdk_input_add (well, i guess it would be called gdk::input_add) but > this doesn't seem to be available whereas gdk_input_remove is ! > > So, i already developed an application using bluetooth socket and > multithreading but i would like this time to use a single threaded > model. My question is, what's the workaround to watch for input on > sockets with php-gtk (polling is ugly and multithreading is not what i > want). It's gtk::input_add(), not gdk::input_add(). - Andrei

« previous php.gtk.general (#5105) next »