a timer callback function?
[email protected] (Daniel Adams)
| Newsgroups | php.gtk |
|---|---|
| Message-ID | <[email protected]> |
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
--