[pygtk] Application freezes
Thomas Wielatt
thomas.wielatt at stud.uni-karlsruhe.de
Thu Jan 29 19:04:10 WST 2009
Hi
I've found the bug. The function that was called increased it's duration.
Greets
Thomas
############################################################################
Hi
I'm working with pygtk and pyopengl.
To draw an incoming signal I registered once a callback via
"gobject.idle_add(draw_signal)" that returns "True".
Unfortunatelly the app slows down after a while --> the duration between
the drawing increases.
Here's my question:
Is there a way to print all events that are pending before the queue is
processed via:
********************************
while gtk.events_pending():
gtk.main_iteration()
********************************
By the way. The app even slows down if I run "gtk.main()".
Greets
Thomas
More information about the pygtk
mailing list