Re: What is acceptable as an action proxy ?
- From: Owen Taylor <otaylor redhat com>
- To: Matthias Clasen <maclas gmx de>
- Cc: gtk-devel-list gnome org
- Subject: Re: What is acceptable as an action proxy ?
- Date: Fri, 29 Aug 2003 10:42:12 -0400
On Wed, 2003-08-27 at 19:53, Matthias Clasen wrote:
> Currently, GtkActions can connect to toolbuttons and menuitems. It would
> be very easy to make this work for regular buttons as well. While I
> don't think it makes a lot of sense to generate the buttons from an
> XML ui description, being able to write
>
> button = gtk_toggle_button_new ();
> action = gtk_action_group_get_action (action_group, "toggle-cnp");
> gtk_action_connect_proxy (action, button);
>
> and have the button automatically activate the same action as the
> corresponding menu and toolbar entries and monitor the sensitivity of
> the action might be handy.
>
> What do you think about this ?
It don't really see this as being that useful. When are you thinking
you would want this?
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]