Re: GTk and Snoopy Class
| From: | Unknown Sender | Date: | Thu, 09 Dec 2004 04:07:02 +0000 |
| Subject: | Re: GTk and Snoopy Class | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5323@lists.php.net to get a copy of this message | ||
Nathan, do you any example to check it ?
thanks
Fran
----- Original Message ----- From: "Malk0" <malk0.phpgtk@gmail.com>
To: "Francisco Obarrio" <obarriof@fibertel.com.ar>
Cc: <php-gtk-general@lists.php.net>
Sent: Wednesday, December 08, 2004 10:55 PM
Subject: Re: [PHP-GTK] GTk and Snoopy Class
hi, it's 'normal' that it freaze cause opening a distant file take a certain time. If you only want to refresh the GUI you can use something like this while(gtk::events_pending()) gtk::main_iteration(); but if you want to totally keep the control of your app a good way to check out is to launch another script to get and parse the page and only check for the result of this new process in the main apps this way your app won't freeze and you eventually can do another job with it hope that help regards nathan On Wed, 8 Dec 2004 22:08:35 -0300, Francisco Obarrio <obarriof@fibertel.com.ar> wrote:Ok .. here is the problem.. if i want to look for 10 web pages.. php gtk FREEZE... is there any way to not to ? thanks! Fran ----- Original Message ----- From: "Francisco Obarrio" <obarriof@fibertel.com.ar> To: <php-gtk-general@lists.php.net> Sent: Wednesday, December 08, 2004 8:15 PM Subject: Re: [PHP-GTK] GTk and Snoopy ClassColin:yes i will use fopen. like this:$handle = fopen("http://gtk.php.net/manual/en/gtk.gtklabel.php", "rb"); $contents = ''; while (!feof($handle)) { $contents .= fread($handle, 8192); } fclose($handle); because i cannot use the class snoopy. Thanks anyway ! Fran ----- Original Message ----- From: <colinm@clientsecure.net> To: "Francisco Obarrio" <obarriof@fibertel.com.ar> Sent: Wednesday, December 08, 2004 7:08 PM Subject: Re: [PHP-GTK] GTk and Snoopy Class-- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpfile(),fopen(), what do you mean "need to look to the html code of a web page" _ (o> Colin McLeod / /\ ClientSecure, Inc. V_/_ Francisco Obarrio wrote:Hello .. this is my first message to the list. I'm coding an application and i need to look to the html code of a web page.. with php i use the class snoopy. but in php-gtk i cannot make it work.. any ideas ? Thanks. Francisco-- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- -- Malk0 -- venez discuter php-gtk en francais ici http://mk0phpgtk.xgarreau.org