From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: Gtk in ada using radiobuttons Date: Sun, 16 Oct 2022 22:09:03 +0200 Organization: A noiseless patient Spider Message-ID: References: <875yglqdtj.fsf@samuel> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 16 Oct 2022 20:09:03 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="75c79658ccecd86e8b45732e215e30e0"; logging-data="3345231"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UPX8bASp1oPS/Ty3ru/tJYHp4BBfi7xQ=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cancel-Lock: sha1:bQC1+JJtXY7otv/aGyohWtgXZlo= In-Reply-To: <875yglqdtj.fsf@samuel> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:64510 List-Id: 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. A GUI library that makes the client do extra work to achieve this is poorly designed. -- Jeff Carter "No one is to stone anyone until I blow this whistle, do you understand? Even--and I want to make this absolutely clear--even if they do say, 'Jehovah.'" Monty Python's Life of Brian 74