> 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 *:-)