wxradiobuttona 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. derived from
wxcontrol include files <wx/radiobut.h> window styles
see also window styles overview. event handling
see also event handling overview, wxradiobox, wxcheckbox members
wxradiobutton::wxradiobutton
wxradiobutton::wxradiobuttonwxradiobutton() default constructor. wxradiobutton(wxwindow* parent, wxwindowid id, const wxstring& label, const wxpoint& pos = wxdefaultposition, const wxsize& size = wxdefaultsize, long style = 0, const wxvalidator& validator = wxdefaultvalidator, const wxstring& name = "radiobutton") constructor, creating and showing a radio button. parameters parent
id
label
pos
size
style
validator
name
see also wxradiobutton::create, wxvalidator
wxradiobutton::~wxradiobuttonvoid ~wxradiobutton() destructor, destroying the radio button item.
wxradiobutton::createbool create(wxwindow* parent, wxwindowid id, const wxstring& label, const wxpoint& pos = wxdefaultposition, const wxsize& size = wxdefaultsize, long style = 0, const wxvalidator& validator = wxdefaultvalidator, const wxstring& name = "radiobutton") creates the choice for two-step construction. see wxradiobutton::wxradiobutton for further details.
wxradiobutton::getvaluebool getvalue() const returns true if the radio button is depressed, false otherwise.
wxradiobutton::setvaluevoid 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. parameters value
|