Re: a couple of more questions...
| From: | Geoff A. Virgo | Date: | Sun, 24 Jun 2001 05:26:51 +0000 |
| Subject: | Re: a couple of more questions... | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1952@lists.php.net to get a copy of this message | ||
At 09:41 AM -0400 Saturday, 6/23/01, Rich Payne wrote:
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) {What's the overhead on this? For example, if I'm using it in an email client to auto-check for mail every x number of minutes. Cheers, Geoff A. Virgo http://www.mithril.ca/ ------------------------------------------------------------------------- I'm not lazy..... at the cellular level I'm really quite busy.//Do whatever you doreturn true;}