[pygtk] Re: Finishing all UI events before blocking

Ryan Rousseau rrouss7 at lsu.edu
Thu Jul 13 23:30:02 WST 2006


Hi Adam,

I'm not sure the of the exact difference between
gtk.gdk.events_pending and gtk.events_pending, but it may be worth
your while to try these lines instead:

while gtk.events_pending():
   gtk.main_iteration(False)

Hope that helps,
Ryan


More information about the pygtk mailing list