From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Gtk in ada using radiobuttons
Date: Mon, 17 Oct 2022 00:14:27 +0200 [thread overview]
Message-ID: <87sfjnpgak.fsf@samuel> (raw)
In-Reply-To: tihocv$362qf$1@dont-email.me
"Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:
> On 2022-10-15 17:58, Ludovic Brenta wrote:
>> Read the comments at the top of gtk-radio_button.ads; it explains how to
>> retrieve the group from the first radio button and then assign all other
>> buttons to that group. See Get_Group, Set_Group.
>
> I know of no reason why the client of a GUI library would ever create
> a single, independent radio button. A single radio button is useless.
> One always wants to create a set of linked buttuns.
Yes but you create the radio buttons one at a time, so one of the
buttons must be the first you create.
> A GUI library that makes the client do extra work to achieve this is
> poorly designed.
Agreed but since you've read the documentation by now, you know about
Gtk_Radio_Button_New_With_Label_From_Widget.
--
Ludovic Brenta.
next prev parent reply other threads:[~2022-10-16 22:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-15 14:28 Gtk in ada using radiobuttons ldries46
2022-10-15 15:58 ` Ludovic Brenta
2022-10-16 20:09 ` Jeffrey R.Carter
2022-10-16 22:14 ` Ludovic Brenta [this message]
2022-10-17 7:27 ` ldries46
2022-10-17 11:18 ` Ludovic Brenta
2022-10-17 11:22 ` Ludovic Brenta
2022-10-17 8:18 ` Jeffrey R.Carter
2022-10-16 16:43 ` ldries46
2022-10-16 20:12 ` Jeffrey R.Carter
2022-10-17 6:56 ` ldries46
2022-10-17 11:17 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox