[pygtk] Does gobject.idle_add guarantee execution order?

skip at pobox.com skip at pobox.com
Sat Dec 8 23:40:22 WST 2007


    Christopher> If I do something like

    Christopher> gobject.idle_add(foo)
    Christopher> gobject.idle_add(must_run_after_foo)

    Christopher> Then am I guaranteed that these will indeed happen in the
    Christopher> expected order?

If the documentation doesn't state it, I don't think you can assume it.
Yuri showed one way to get the behavior you wanted.

-- 
Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/


More information about the pygtk mailing list