Re: general php-gtk questions
| From: | jasonr at argia dot net | Date: | Wed, 14 Feb 2024 13:40:18 +0000 |
| Subject: | Re: general php-gtk questions | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1040@lists.php.net to get a copy of this message | ||
> > while gtk::main is running, as i understand it. think of a monitor or
> > stats program of some sort that needs to update its display every x
> > seconds, and you have a pretty good idea of what i want to do :)
>
> Gtk::timeout_add(<num seconds>, <callback>) is your friend, then.
>
this worked, tho its milliseconds, not seconds.
and its a one time deal, so it needs to be set again at the end of whatever function
<callback> is set to :)
> -Andrei
>
>
> "Freedom comes when you learn to let go.
> Creation comes when you learn to say no."
> -madonna