Re: Fw: how to repeat action?
| From: | Andrei Zmievski | Date: | Mon, 12 Mar 2001 22:08:28 +0000 |
| Subject: | Re: Fw: how to repeat action? | ||
| References: | 1 2 3 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-733@lists.php.net to get a copy of this message | ||
On Mon, 12 Mar 2001, anet@webmedia.pl wrote:
> ok - so what do i do wrong, that the code below doesn't make o
> loop:
>
> function repeated()
> {
> blah;
> }
>
> [...cut...]
>
> Gtk::timeout_add(3000,'repeated');
>
> Gtk::main();
>
> sorry, if (as:)) the question is totally lame...
You have to return true from callback if you want it to continue, false
- to stop.
-Andrei
* Proximity bug: when the program crashes in front of important visitors. *