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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2746dae4f161c04e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-21 02:36:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Gtkada-Prob Date: Wed, 21 Nov 2001 10:36:42 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <20011121.053507.496987743.3460@web.de> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1006339002 903 129.241.83.82 (21 Nov 2001 10:36:42 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 21 Nov 2001 10:36:42 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:16780 Date: 2001-11-21T10:36:42+00:00 List-Id: On 21 Nov 2001 11:19:36 +0100, Florian Weimer wrote: > "Lars Heppler" writes: > >> I have a little problem, i want to write a gtkada-programm, where you can >> select some options with Radiobuttons and Checkbuttons. Do I need a >> Handler to find out if the bottons are active or not ? > > No, not necessarily. You probably can use Get_Active to query the > current value of a radio button. Yes, this is much simpler, but it has one assumption and that is that nothing should happen if a radio_button is pressed. I mean no change to Gui etc.. In my case I need to hide some widgets and show new depending on which radio button is active, therefore the handle is needed. I don't know what the needs here are (as I don't know the program), but if you don't kneed to know which radio button is active before pressing an OK button or something similar, you do not need a handler. Preben -- () Join the worldwide campaign to protect fundamental human rights. '||} {||' http://www.amnesty.org/