Re: radio-group branch



On Fri, 2010-11-12 at 12:37 +0100, Alexander Larsson wrote:
> I'm not inherently against naming the buttons. It would be nice if we
> got a third argument to the group active-changed signal that lets you
> avoid having to compare button instances to see which one is active.
> Although in code it might be better to allow any gpointer as "name" for
> the button so you could put in random user data.

The best way for GSettings to use this would be if it were a GObject
property of type string (so you could bind to it).

> Anyway, I don't see that the current code needs much work to add this.
> Just add a .._set_radio_name() to all radio-button widget types and then
> propagate this to the group? Its a small incremental patch to the
> current branch.

Yes.  That's about it.

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]