wxToggleButton
Implements methods from the following classes
wxAnyButton
Methods
wxToggleButton
Default constructor.
Create
Creates the toggle button for two-step construction.
GetValue
Gets the state of the toggle button.
SetValue
Sets the toggle button to the given state.
Static Methods
wxToggleButton
wxToggleButton
( )
Default constructor.
wxToggleButton
(
wxWindow
&
$parent
,
integer
$id
,
string
$label
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
,
wxValidator
$val
=
wxDefaultValidator
,
string
$name
=
wxCheckBoxNameStr
)
Constructor, creating and showing a toggle button.
Create
bool
Create
(
wxWindow
&
$parent
,
integer
$id
,
string
$label
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
,
wxValidator
$val
=
wxDefaultValidator
,
string
$name
=
wxCheckBoxNameStr
)
Creates the toggle button for two-step construction.
GetValue
bool
GetValue
( )
Gets the state of the toggle button.
SetValue
SetValue
(
bool
$state
)
Sets the toggle button to the given state.