a timer callback function?
| From: | Daniel Adams | Date: | Fri, 27 Jul 2001 04:30:26 +0000 |
| Subject: | a timer callback function? | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2365@lists.php.net to get a copy of this message | ||
Is there any function in phpgtk like gtk_timeout_add where you can specify
a certain number of seconds and a callback function and it will call the
function after that number of seconds? Something like this:
$timer = &new GtkTimeout;
$timer->add (600, foo, NULL);
function foo ($userdata)
{
echo "it's been 600 seconds!\n";
}
Thanks for the help. I apologize in advanced if I can already do this.
:-)
- Dan
--