grouped toggled buttons

I want to define some toggle button to be grouped and be exclusive (only
one is toggle each time). When pushing one the state of other must change
and an action is performed. I think it is not defined something like this
in the standar distribution. Has anybody do something like this?

TIA

Zunbeltz

···

--
Zunbeltz Izaola Azkona (zunbeltz at wm dot lc dot ehu dot es)
Materia Kondentsatuaren Fisika Saila |
Zientzia eta Teknologia Fakultatea | Telf: 34 946015326
Euskal Herriko Unibertsitatea |
PK 644 | Fax: 34 944648500
48080 Bilbo (SPAIN) |
--

Yes, you need to keep a reference to the last button toggled and manually
change its state in the event handler with a SetValue(False).

-----Message d'origine-----

···

De : Zunbeltz [mailto:zunbeltz@lcdx00.wm.lc.ehu.es]
Envoye : Wednesday, June 30, 2004 3:36 PM
A : wxPython-users@lists.wxwidgets.org
Objet : [wxPython-users] grouped toggled buttons

I want to define some toggle button to be grouped and be exclusive (only
one is toggle each time). When pushing one the state of other must change
and an action is performed. I think it is not defined something like this
in the standar distribution. Has anybody do something like this?

TIA

Zunbeltz

--
Zunbeltz Izaola Azkona (zunbeltz at wm dot lc dot ehu dot es)
Materia Kondentsatuaren Fisika Saila |
Zientzia eta Teknologia Fakultatea | Telf: 34 946015326
Euskal Herriko Unibertsitatea |
PK 644 | Fax: 34 944648500
48080 Bilbo (SPAIN) |
--

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org