Re: What is acceptable as an action proxy ?



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]