Re: events_pending() Q

From: Date: Fri, 17 May 2002 09:03:15 +0000
Subject: Re: events_pending() Q
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1914@lists.php.net to get a copy of this message
Cheers Rich, That seems to have done the job very nicely, much appreciated. Regards, Simon Wheeler firepages ----- Original Message ----- From: "Rich Payne" <rdp@talisman.mv.com> To: "firepages.com.au" <fire@firepages.com.au> Cc: "PHP-GTK" <php-gtk-general@lists.php.net> Sent: Monday, May 06, 2002 2:43 AM Subject: Re: [PHP-GTK] events_pending() Q > > > > // at this point the $auth window should have already been built and 'shown' > > while (gtk::events_pending()){ > > gtk::main_iteration(); > > $yaks=QUERY($query,true,1); file://the slow bit - 3-5 secs to fetch data > > from online db via http > > } > > what if you do this instead: > > while (gtk::events_pending()) > gtk::main_iteration(); > > $yaks=QUERY($query,true,1); file://the slow bit - 3-5 secs to fetch data from online db via http > > aka: Remove the braces. > > --rdp > > > -- > Rich Payne > http://talisman.mv.com > > > >

« previous php.gtk.general (#1914) next »