Re: GtkMenu question



13.12.09, 22:12, "Artur Galyamov" <artur-pub yandex ru>:
same iteration of main loop -- if so, you can play with g_idle_add() to set final value:

before popup -> set default value to tmp

on optional activate -> set activated value to tmp

... (iteration ends)
on high-priority idle -> set final value from tmp

Sorry.. forgot it: set idle callback at "hide" emission.

--
Artur

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