Re: RadioButtons activity
- From: "Arthur Maciel" <arthurmaciel gmail com>
- To: paul linuxaudiosystems com
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: RadioButtons activity
- Date: Mon, 24 Sep 2007 16:34:20 -0300
Paul,
I understand, but the fact is if I´m trying to build a client survey,
how could I present to the client a radio group with one of the
answers active? I would induce them.
What do you think? Your opinion is really appreciatted.
Regards,
Arthur
2007/9/24, Paul Davis <paul linuxaudiosystems com>:
> On Mon, 2007-09-24 at 16:24 -0300, Arthur Maciel wrote:
> > Hi there.
> >
> > I´m building a RadioButton::Group and creating RadioButtons with that
> > group. I really want to set all radiobuttons DEactivated, but one of
> > them (the first) is always active.
> > I´ve already tried radio_button->set_active(false); to all of them,
> > but it did not worked. Could anyone help me, please?
>
> you'd be abusing the concept. you can't have a set all inactive radio
> buttons unless you sidestep the GTK API. it is a violation of the
> Model-View relationship you're supposed to be following: the radio
> buttons represent some state in the model your application is using. if
> "all off" is a legal state, it should have its own radio button.
>
> --p
>
>
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]