Re: a couple of more questions...

From: Date: Sat, 23 Jun 2001 13:41:35 +0000
Subject: Re: a couple of more questions...
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1951@lists.php.net to get a copy of this message
On Fri, 22 Jun 2001, Julia A. Case wrote: > gtk::timeout_add(1000, 'draw_screen',$drawingarea,$event); > > this should call the draw_screen function every second, but it only calls > it once... You need to return true from the draw_screen function for it to continue. function draw_screen ($drawingarea, $event) { //Do whatever you do return true; } > What is the easiest way to blank a drawingarea widget? No idea.... --rdp -- Rich Payne rpayne@alphalinux.org www.alphalinux.org

« previous php.gtk (#1951) next »