Re: Gtk::set_timeout();
| From: | Andrei Zmievski | Date: | Sat, 03 Mar 2001 16:22:13 +0000 |
| Subject: | Re: Gtk::set_timeout(); | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-189@lists.php.net to get a copy of this message | ||
On Sat, 03 Mar 2001, Tony J. White wrote:
> If the Gtk::timeout_add() function was working properly, this could be
> rewritten as:
> -----------------------------------------------
> Gtk::timeout_add(1000, 'myfunction', NULL);
> Gtk::main();
> -----------------------------------------------
>
> And everything would be a lot prettier.
I've fixed the timeout handler marshaller in the latest CVS. Be sure to
return true from your timeout function if you want timeout to keep
going.
-Andrei
* It said 'Winmodem' on the box, but I still feel like I lost. *