|
|
 | | From: | Jonas Wulff | | Subject: | Newbie: wxToggleButton + wxRadioBox | | Date: | Fri, 21 Jan 2005 16:22:36 +0000 (UTC) |
|
|
 | Hello everyone, I am using wxGTK 2.4.2 to develop an application to be used in evaluation of computer vision software and algorithms. But as I do not like the default look of a wxRadioBox (a group of wxRadioButtons, the round Buttons with text next to them), I would like to ask the following question:
Is it possible to create a wxRadioBox with a group of wxToggleButtons instead of wxRadioButtons? OR, is it possible to somehow customize the look of a wxRadioButton to look like a wxToggleButton? OR, is there any other way of grouping a bunch of wxToggleButtons together so that only one can be activated at a given time?
Thanks everyone, Jonas
-- GMX im TV ... Die Gedanken sind frei ... Schon gesehen? Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
--------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
|
|
 | | From: | Joachim Buermann | | Subject: | Re: Newbie: wxToggleButton + wxRadioBox | | Date: | Mon, 24 Jan 2005 07:11:41 +0000 (UTC) |
|
|
 | Look at http://www.iftools.com/extras.en.html. There is a addition widget set (awx) which can do that.
On Fri, 21 Jan 2005 17:22:21 +0100 (MET) "Jonas Wulff" wrote:
> Hello everyone, > I am using wxGTK 2.4.2 to develop an application to be used in evaluation of > computer vision software and algorithms. But as I do not like the default > look of a wxRadioBox (a group of wxRadioButtons, the round Buttons with text > next to them), I would like to ask the following question: > > Is it possible to create a wxRadioBox with a group of wxToggleButtons > instead of wxRadioButtons? OR, is it possible to somehow customize the look > of a wxRadioButton to look like a wxToggleButton? OR, is there any other way > of grouping a bunch of wxToggleButtons together so that only one can be > activated at a given time? > > Thanks everyone, > Jonas > > -- > GMX im TV ... Die Gedanken sind frei ... Schon gesehen? > Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org > For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
-- ZES ZIMMER Electronic Systems Joachim Buermann Software Development
--------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
|
|
 | | From: | David Elliott | | Subject: | Re: Newbie: wxToggleButton + wxRadioBox | | Date: | Fri, 21 Jan 2005 17:40:49 +0000 (UTC) |
|
|
 | On Jan 21, 2005, at 11:22 AM, Jonas Wulff wrote:
> Hello everyone, > I am using wxGTK 2.4.2 to develop an application to be used in > evaluation of > computer vision software and algorithms. But as I do not like the > default > look of a wxRadioBox (a group of wxRadioButtons, the round Buttons > with text > next to them), I would like to ask the following question: > > Is it possible to create a wxRadioBox with a group of wxToggleButtons > instead of wxRadioButtons? OR, is it possible to somehow customize the > look > of a wxRadioButton to look like a wxToggleButton? OR, is there any > other way > of grouping a bunch of wxToggleButtons together so that only one can be > activated at a given time? > Well, you can certainly do it programmatically. Just catch the event for the entire range of toggle button ids and when one is checked simply uncheck the rest. I find it's easier if you keep your own array of the controls rather than trying to look up the siblings by ID.
-Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
|
|
|