[pygtk] Automatically detect if GTK+ operations are not being done in the main loop?

Willie Walker William.Walker at Sun.COM
Mon Mar 23 23:30:58 WST 2009


Hi All:

One problem we consistently run into with accessibility are hangs caused
by code that is performing GTK+ operations outside the main loop.  These
are typically apps that are doing things via threads, such as talking to
network servers and such.

It is often very difficult chase down the offending code.  I'm curious
if there is a flag or switch one can turn on in PyGTK to issue
warnings/errors if GTK+ operations that should be done in the main loop
are not being done in the main loop.

Is there any such thing?  If not, would it be possible to add (and
should I open a bug)?

Will




More information about the pygtk mailing list