[pygtk] Wait until a thread is ended
Adolfo González Blázquez
listas at infinicode.org
Fri Sep 29 03:16:20 WST 2006
Hello,
I would like to know if someone can point me a solution to make a
function run as a separate thread, and wait until it is ended, without
blocking the gui.
In my application, i'm getting a long file listing using glob(), and i
want this function to run as a thread, so the user can stop it using a
button in the gui (right now, the gui freezes till glob is ended), and
then run another function to fill the treeview (this now works without
blocking the gui, using generators). .
Any idea will be really appreaciated.
Thanks in advance!
-- adolfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060928/7a97d268/attachment.pgp
More information about the pygtk
mailing list