Re: a timer callback function?

From: Date: Fri, 27 Jul 2001 08:59:17 +0000
Subject: Re: a timer callback function?
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2366@lists.php.net to get a copy of this message
gtk::timeout_add(and the other bits); ----- Original Message ----- From: "Daniel Adams" <danno@wpi.edu> To: "php-gtk" <php-gtk@lists.php.net> 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: php-gtk-unsubscribe@lists.php.net For additional commands, e-mail: php-gtk-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.gtk (#2366) next »