Re: bonobo_ui_handler_menu_set_toggle_state
- From: Nat Friedman <nat helixcode com>
- To: John Sullivan <sullivan eazel com>
- Cc: gnome-components-list <gnome-components-list gnome org>
- Subject: Re: bonobo_ui_handler_menu_set_toggle_state
- Date: 20 Mar 2000 05:03:07 -0500
John Sullivan <sullivan@eazel.com> writes:
> The function bonobo_ui_handler_menu_set_toggle_state has an ambiguous title.
> It could either behave as if the user had selected the menu item, or it
> could just change the state of the checkbox widget.
>
> Currently it behaves as if the user had selected the menu item, but this
> seems like it's the wrong choice. How can a caller set the state of the
> checkbox without actually causing code to run? The same issue exists for the
> radio button items.
>
> Is this a mistake in Bonobo, or am I overlooking something?
It's done like that because these are the semantics people expect;
this is how Gtk+ operates. The caller just has to be smart enough to
know when he's initiated the state change himself.
Nat
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]