gdk_input_add

From: Date: Mon, 20 Sep 2004 19:58:48 +0000
Subject: gdk_input_add
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5104@lists.php.net to get a copy of this message
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). BR, -- Xavier Garreau http://www.xgarreau.org/

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