From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Gtk Ada Radio Group Date: Wed, 21 Aug 2019 17:55:56 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <5d5cff16$0$2068$e4fe514c@news.kpn.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 21 Aug 2019 15:56:00 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="42bea29f3fa89097a0cf6ceb8a71d6c6"; logging-data="12639"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qxFsGCvaKJpOGoQm0sFbAilPC+GUlaao=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cancel-Lock: sha1:V6QOx5dGWF6cIoQZkyCC2BGODIE= In-Reply-To: <5d5cff16$0$2068$e4fe514c@news.kpn.nl> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:57086 Date: 2019-08-21T17:55:56+02:00 List-Id: On 8/21/19 10:21 AM, ldries46 wrote: > I am trying to get working version of a Radio Button Group. > For various reasons I don't want to do this by using Glade. The Code compiles > correctly and presents itself correctly in the dialog > But it does not behave as a group. All Buttons are activated. Typically, I did something like this: Gtk_New (Radio_Button => R1, Group => R1, Label => "R1"); Gtk_New (Radio_Button => R2, Group => R1, Label => "R2"); Gtk_New (Radio_Button => R3, Group => R1, Label => "R3"); -- Jeff Carter "I would never want to belong to any club that would have someone like me for a member." Annie Hall 41