On 2/15/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi there, > I have a GUI with checkboxes, comboboxes etc. > Depends on the state of a combobox, some checkboxes have be insensitive > or if a checkbox is active, a combobox has to be insensitive ...... > So is it possible to change the state from inside my application like > checkbox->set_active(false) without to trigger the signal to avoid > a "signal-loop" ? > > thanks > > gizmo
There's probably several different ways to do this. Here's one: sigc::connection conn = signal_foo().connect(...); conn.block(); // do something that would normally emit a signal_foo conn.unblock(); -- jonner _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
