Re: general php-gtk questions

From: Date: Tue, 07 Aug 2001 15:06:17 +0000
Subject: Re: general php-gtk questions
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2555@lists.php.net to get a copy of this message
> Also, is there any way to make a snipet of code repeat endlessly after the interface is drawn, yet still have the interface respond to input? i am thinking more along the lines of hte "timer" in vb, but it doesnt really matter how the code gets executed (inifinite loop or interrupt). I don't know about your first question, but i can answer this one. You should use a recursive function something like this: function myrepeatfunction() { // some code } // add a timeout so it will be used every X milliseconds gtk::timeout_add( X, 'myrepeatfunction'); Joris Kluivers

« previous php.gtk (#2555) next »