On Mon, 2010-11-01 at 23:51 -0400, Ryan Lortie wrote:
> hi Alex,
> 
> I was thinking of doing the same thing, but making the GtkRadioGroup
> implement GAction with a state type of string (and each radio button in
> the group being identified by a string).
> 
> Setting the action to a state equal to the name of a radio item would
> activate that item.  Easy DBus exporting for all.
> 
> Thoughts?

I'm not sure forcing every radio item to have a name is a good idea.

Also, I don't think exposing raw widgets as exported actions is a good
idea. Its probably better to have more highlevel actions, or at least
some separation between action specification and implementation.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       [email protected]            [email protected] 
He's an immortal vegetarian filmmaker whom everyone believes is mad. She's a 
transdimensional hypochondriac former first lady in the witness protection 
program. They fight crime! 

_______________________________________________
gtk-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to