Re: GtkMenu question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



14.12.09, 07:50, "Julien Bramary" <julien_bramary@xxxxxxx>:
> It works!
> ...
> static void choose_deactivate_handler(void *GtkWidget, gpointer value) {
>     g_idle_add(idle_chooser, NULL);
> }

Nice!
Small note: you may call g_idle_add_full(G_PRIORITY_HIGH, idle_chooser, NULL, NULL) to ensure no other idle is executing between your iterations.

http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS

-- 
Artur
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux