Re: Threads + GTK
| From: | Alan Knowles | Date: | Thu, 02 Oct 2003 14:43:28 +0000 |
| Subject: | Re: Threads + GTK | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3938@lists.php.net to get a copy of this message | ||
try
gtk::timeout_add()
or
while () {
while(gtk::events_pending()) gtk::main_iteration();
... do stuff..
}
or gtk::input_add(), for waiting of fopen/popen etc.
Regards
Alan
Cosmin wrote:
I wanted to make a window and display the time on the statusbar. I thought I could do this with threads like this: I make a new process which updates the statusbar every second. But this doesn't work :(.-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comDoes anyone has an idea on how to do this?