Re: radio-group branch
- From: Alexander Larsson <alexl redhat com>
- To: Ryan Lortie <desrt desrt ca>
- Cc: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Re: radio-group branch
- Date: Fri, 12 Nov 2010 20:12:49 +0100
On Fri, 2010-11-12 at 08:58 -0500, Ryan Lortie wrote:
> 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.
Yeah, just have each radio item type have a "radio-value" property of
type string and add setters for it => DONE
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alexander larsson gmail com
He's a fiendish misogynist messiah with nothing left to lose. She's a
brilliant tomboy femme fatale from beyond the grave. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]