Re: Timer

From: Date: Tue, 31 Jul 2001 11:29:07 +0000
Subject: Re: Timer
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2418@lists.php.net to get a copy of this message
On Tue, Jul 31, 2001 at 01:06:04PM +0200, Jonas Delfs wrote : > "Markus Fischer" <mfischer@guru.josefine.at> skrev i en meddelelse > news:20010731130347.A16305@guru.josefine.at... > > > Use gtk::timeout_add( function_name); > > I knew that one - just not how to use it. Something like <?php function foo() { echo "tic\n"; flush(); return true; } gtk::timeout_add( 200, 'foo'); gtk::main(); ?> If in doubt you can always lookup the GTK+ API documentation; most of the time its pretty self-describing. - markus > > > The functions return value control wether the timeout starts > > again or not (read: true or false); > > Can you give a little eksample in how to use it for my need? > > -- > Mvh./Best Regards | Jonas Delfs, http://delfs.dk > > "hehe ikke set en standart i min kode før, hvad er det for nogle dimser?" - > X > > > > -- > 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 > -- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: mfischer@guru.josefine.at PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0

« previous php.gtk (#2418) next »