[wxPython-users] Unselecting radiobuttons
Robin Dunn
robin at alldunn.com
Mon Mar 3 11:16:31 PST 2008
Ken Schutte wrote:
> For a group of radiobuttons (or a radiobox), is there a way to make none
> of them selected?
>
> I've been searching for an answer to this, and it seems you could just
> do SetValue(False), according to:
>
> http://lists.wxwidgets.org/archive/wxPython-users/msg59923.html
>
> However, I have not gotten this to work. I have been testing on a
> simple test case which I'll paste below. I'd like pressing the button
> to deselect both radiobuttons, but it does nothing.
The SetValue(False) only works on the platforms that allow a group of
radio buttons to be all unselected.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list