On Wed, 2013-06-12 at 09:50 +0100, jcup...@gmail.com wrote:
> Do you need to use idle_add()?

Hey John,

If I start the long job function from within my assistant's "prepare"
signal callback, as opposed to en-queueing it there via idle_add(), then
the GUI doesn't refresh throughout the duration of the long job. This
happens even though I do pump the message queue during the long job via
the usual...

        while Gtk.events_pending():
                Gtk.main_iteration()

Thanks a lot for your help.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to