Re: Help with Dialog/Popup

From: Date: Thu, 04 Aug 2005 09:04:50 +0000
Subject: Re: Help with Dialog/Popup
References: 1 2 3 4 5 6  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6161@lists.php.net to get a copy of this message
Markus Fischer a écrit :
Hi, just wanted to throw in my 2c that I'm sturggling with the problem too. Sometimes queries to the server can take very long and I'm also searching for a few to have more control what happens during this time. For example, I don't just want to display a waiting message or progress bar, but also provide a 'cancel' button for too long queries. But this won't work if the call to the server is one long timeslice and I can't think of a way to split this calls to the server into smaller parts to still have at least some kind of UI reaction. Any ideas are welcome.
Hi, I guess that using sockets and repeatedly calling select with a short timeout on the socket would do the trick. Regards, -- Xavier Garreau <xavier@xgarreau.org> http://www.xgarreau.org/

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