Appl. freeze until function is complete

From: Date: Tue, 16 Sep 2003 21:49:43 +0000
Subject: Appl. freeze until function is complete
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3902@lists.php.net to get a copy of this message
Hi all, i fight hard with php-gtk...I have written a aplication wich querys a LDAP Server and displays the result in a clist. Works fine. But sometimes the Server needs very long to answer. For this case i would have a "cancel" Button wich stops the query. But how can i realize this? The Program "hangs" in the function wich querys the Server and the GUI is blocked. Is there any posibility to implement a "timeout" in a function? If someone is here who can help me i will be verry happy. Thanks a lot in advance, Bernd

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