[pygtk] events_pending & main_iteration_do

Alessandro Dentella sandro at e-den.it
Sat Apr 25 16:39:36 WST 2009


> There might be more than one task to do in the main iteration, so you
> might run the main iteration as long as there is something to process:
> 
> while gtk.events_pending():
>     gtk.main_iteration_do()
> 

thanks. That makes the difference

*:-)


More information about the pygtk mailing list