events_pending
| From: | Rhys Campbell | Date: | Mon, 24 May 2004 12:54:00 +0000 |
| Subject: | events_pending | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4549@lists.php.net to get a copy of this message | ||
Anyone have any experience with this...
<?php
while(gtk::events_pending()) gtk::main_iteration();
?>
It doesn't seem to work well for me. I get a parse error with the above (straight from the
manual), the following seems to work for me...
<?php
while(gtk::events_pending());
?>
i.e. the appropriate code runs consistently but seems very buggy and crashes on exit. Any better
solutions for updates??
Regards,
Rhys Campbell
DA Systems
e: rhys.campbell@da-systems.co.uk
t: +44(0)1494 512626
f: +44(0)1494 512727
w: www.da-systems.co.uk