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
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.