Re: Accessibility hang when GTK's main loop is in a second thread (PyGTK)

2009-06-18 Thread Li Yuan
Hi Timothy, For Python threads issues, have you followed the suggestions in http://faq.pygtk.org/index.py?req=show&file=faq20.006.htp ? I think your way is approach #2 in that page. It is important to wrap main loop and other gtk functions with gtk.threads_enter()/gtk.threads_leave(). Timoth

Accessibility hang when GTK's main loop is in a second thread (PyGTK)

2009-06-18 Thread Timothy Renner
We have a Python application using PyGTK, which fires up a second thread for the GUI and gtk.main() while main processing happens in the Main thread. Main is responsible for much of the actual drawing of the GUI, while the secondary thread is responsible for picking up actions on the GUI and prodd