[wxPython-users] Question on radio buttons
Leeuw van der, Tim
tim.leeuwvander at nl.unisys.com
Tue Jul 4 02:39:42 PDT 2006
If the answer to your question is 'no' then a workaround would perhaps
be to create a hidden radio-button, which would be selected on creation
of the group... ?
--Tim
-----Original Message-----
From: Lorenzo Allegrucci [mailto:l.allegrucci at gmail.com]
Sent: dinsdag 4 juli 2006 11:34
To: wxpython-users at lists.wxwidgets.org
Subject: [wxPython-users] Question on radio buttons
Hi, I would like to build a set of radio buttons where no one
is selected at the beginning, but if I create such radio button
list as:
rb1 = wx.RadioButton(self, "button1", style=wx.RB_GROUP)
rb2 = wx.RadioButton(self, "button2")
rb3 = wx.RadioButton(self, "button3")
etc..
rb1 is always selected by default and rb1.SetValue(False) doesn't
change its state.
So, is there a way to have all radio buttons not selected by default?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
More information about the wxpython-users
mailing list