status bar
| From: | Hakan Kuecuekyilmaz | Date: | Sun, 09 Dec 2001 18:32:01 +0000 |
| Subject: | status bar | ||
| Groups: | php.gtk.general php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-837@lists.php.net to get a copy of this message | ||
Hello,
how can I actualize the status bar say once a minute.
I tried it like this:
function connect()
{
....
while(TRUE) {
....
$id = $status->get_context_id("stats");
$status->push($id, $input);
if ($j == 1) break; // disconnect() sets $j to 0
sleep(60)
}
}
Thats not very clever, because after clicking connect the function hangs
in the while loop. How could this be solved?
regards
--
Hakan Kuecuekyilmaz, presently intern at
Tecnomatix Technologies Germany | Tel: +49 711 1389- 257
Mittlerer Pfad 9 | <hakan@lisas.de>
70 499 Stuttgart | <hkuecuekyilmaz@tecnomatix.de>
Studenten, Absolventen und Young Professionals <http://www.c-cn.de>