On Sat, 29 May 2010 06:35:24 -0000
"John Emmas" <john...@tiscali.co.uk> wrote:
> When you call one of the g_idle_add() functions, you're saying to gtk,
> "don't execute this function now - but delay it until the GUI thread
> has some idle time available and execute it there."  By doing that,
> you ensure that GUI elements get updated in the right way and in the
> right place.

That's not quite right.  It adds a callback to the event queue, and
with g_idle_add_ful() you can specify any priority you want (you can,
if you wish, put it at the top of the event queue).  The "idle" is
really a misnomer and just relates to the default priority in the
queue for the callback.

Chris


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to