Op 2005-12-19, sir_alex schreef <[EMAIL PROTECTED]>:
> 1) no, i didn't; i'll go and read that function

gtk.gdk.threads_init, has to be called before gtk.main
if you want threads in a pygtk program.

> 2) well, the actual situation is: there's the main thread (the
> application itself) and then the second thread that i create with
> threading.Thread, in which i make some things; in this thread i call
> gtk.gdk to update a window with a progress bar...

You will have to put your gtk.gdk calls between gtk.gdk.threads_enter
and gtk.gdk.threads_leave calls to avoud blocking.

-- 
Antoon Pardon
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to