Re: [PHP-GTK] a timer callback function?

[email protected] ("Steph")
Newsgroups php.gtk
Message-ID <017501c1167a$83c91860$134a01d5@t2r1o8>
gtk::timeout_add(and the other bits);

----- Original Message ----- 
From: "Daniel Adams" <[email protected]>
To: "php-gtk" <[email protected]>
Sent: Friday, July 27, 2001 5:30 AM
Subject: [PHP-GTK] a timer callback function?


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
-- 


-- 
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
To contact the list administrators, e-mail: [email protected]
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.