Re: general php-gtk questions

From: Date: Tue, 20 Mar 2001 21:48:57 +0000
Subject: Re: general php-gtk questions
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1041@lists.php.net to get a copy of this message
On Tue, 20 Mar 2001, jasonr@argia.net wrote: > > > > 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 :) No, you are supposed to return 'true' from callback to keep going, or 'false' to stop. -Andrei Some people try to achieve immortality through their work, others through their children. I hope to achieve immortality by not dying. -- Woody Allen

« previous php.gtk (#1041) next »