On Fri, Jul 21, 2006 at 01:13:23PM +0200, Enrico Tröger wrote: > > I look for a way to change the state of a GtkCheckMenuItem so that the > toggled signal won't be emitted.
This is not possible. > I tried gtk_check_menu_item_set_active() and setting the active > property with g_object_set(), but in both ways the toggled signal is > emitted when the state changes(if it is TRUE and I set it to TRUE > nothing happens). > But I want to change the state so that the signal is never emitted. The > signal itself is needed for user interaction. So, not connecting to the > signal doesn't solve my problem. > > Is there an option which I missed? Blocking the signal handler when the state is changed programatically, setting some flag when the state is changed programatically, ... Yeti -- Anonyms eat their boogers. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list