Check the thread in this list with a subject "Threading". There are a few things you can do like use generators.
See section 20 on PyGTK FAQ. Compile pyGtk with thread support first. You are probably missing gtk.threads_init , threads_enter and threads_leave. http://www.async.com.br/faq/pygtk/index.py?req=index I stay away from threads - keeps the code simple. if you just want to run one function on a separate thread then this might interest you (uses python threads) http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/84317 > im new to programming with gtk and was wondering how to work around the > gtk mainloop, which seems to stop all currently running threads, to > allow threads to continue running. im pretty sure im missing something > glaringly obvious. > > thanks in advance > > Keir Lawson > -- > > "We would rather die on our feet than live on out knees" > > _______________________________________________ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/