Re: GtkMenu question
- From: Artur Galyamov <artur-pub yandex ru>
- To: Julien Bramary <julien_bramary msn com>
- Cc: gtk-list gnome org
- Subject: Re: GtkMenu question
- Date: Mon, 14 Dec 2009 11:39:26 +0300
14.12.09, 07:50, "Julien Bramary" <julien_bramary msn com>:
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]