[pygtk] events_pending & main_iteration_do
Alessandro Dentella
sandro at e-den.it
Thu Apr 23 21:07:28 WST 2009
Hi, I have a widget that needs to use gtk.idle_add(...), in some situations
I'd like to force gtk to process what is in idle. I thought I could use:
t = MyWidgetWidthIdle()
gtk.main_iteration_do()
t.my_method()
But it does not seem to change anything, t.my_method() is called when the
idle_callback has not yet been run.
Do I understand exactly that main_iteration_do() is for this purpouse?
Is there some other way to achieve the same geal?
thanks
sandro
--
Sandro Dentella *:-)
http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy
More information about the pygtk
mailing list