.\" This is a wxWidgets manpage page generated from the XML docs .TH wxRadioButton 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxRadioButton \- A round button to be used with others in a mutually exclusive way .SH DESCRIPTION A radio button item is a button which usually denotes one of several mutually exclusive options. It has a text label next to a (usually) round button. You can create a group of mutually-exclusive radio buttons by specifying wxRB_GROUP for the first in the group. The group ends when another radio button group is created, or there are no more radio buttons. .SH "PARENTS" wxControl wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/radiobut.h .SH MEMBERS .SS wxRadioButton () Default constructor. .SS wxRadioButton (wxWindow* parentwxWindowID idconst wxString& labelconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = 0const wxValidator& validator = wxDefaultValidatorconst wxString& name = ``radioButton") .SS void ~wxRadioButton () Destructor, destroying the radio button item. .SS bool Create (wxWindow* parentwxWindowID idconst wxString& labelconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = 0const wxValidator& validator = wxDefaultValidatorconst wxString& name = ``radioButton") Creates the choice for two-step construction. See wxRadioButton::wxRadioButton for further details. .SS bool GetValue () Returns true if the radio button is depressed, false otherwise. .SS void SetValue (const bool value) Sets the radio button to selected or deselected status. This does not cause a wxEVT_COMMAND_RADIOBUTTON_SELECTED event to get emitted. .SH "WINDOW STYLES" .SS wxRB_GROUP Marks the beginning of a new group of radio buttons. .SS wxRB_SINGLE wxRB_SINGLE .SS wxRB_USE_CHECKBOX wxRB_USE_CHECKBOX .SH EVENTS .SS EVT_RADIOBUTTON(id, func) Process a wxEVT_COMMAND_RADIOBUTTON_SELECTED event, when the radiobutton is clicked. .SH "SEE ALSO" wxControl wxWindow wxEvtHandler wxObject Event handling overview wxRadioBox , wxCheckBox .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.