wxRibbonButtonBar
Implements methods from the following classes
wxRibbonControl
Methods
wxRibbonButtonBar
Default constructor.
AddButton
Add a button to the button bar (simple version).
AddDropdownButton
Add a dropdown button to the button bar (simple version).
AddHybridButton
Add a hybrid button to the button bar (simple version).
AddToggleButton
Add a toggle button to the button bar (simple version).
ClearButtons
Delete all buttons from the button bar.
Create
Create a button bar in two-step button bar construction.
DeleteButton
Delete a single button from the button bar.
EnableButton
Enable or disable a single button on the bar.
Realize
Calculate button layouts and positions.
ToggleButton
Set a toggle button to the checked or unchecked state.
Static Methods
wxRibbonButtonBar
wxRibbonButtonBar
( )
Default constructor.
wxRibbonButtonBar
(
wxWindow
&
$parent
,
integer
$id
=
wxID_ANY
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
)
Construct a ribbon button bar with the given parameters.
AddButton
wxRibbonButtonBarButtonBase
&
AddButton
(
integer
$button_id
,
string
$label
,
wxBitmap
$bitmap
,
string
$help_string
,
wxRibbonButtonKind
$kind
=
wxRIBBON_BUTTON_NORMAL
)
Add a button to the button bar (simple version).
wxRibbonButtonBarButtonBase
&
AddButton
(
integer
$button_id
,
string
$label
,
wxBitmap
$bitmap
,
wxBitmap
$bitmap_small
=
wxNullBitmap
,
wxBitmap
$bitmap_disabled
=
wxNullBitmap
,
wxBitmap
$bitmap_small_disabled
=
wxNullBitmap
,
wxRibbonButtonKind
$kind
=
wxRIBBON_BUTTON_NORMAL
,
string
$help_string
=
wxEmptyString
,
wxObject
&
$client_data
=
NULL
)
Add a button to the button bar.
AddDropdownButton
wxRibbonButtonBarButtonBase
&
AddDropdownButton
(
integer
$button_id
,
string
$label
,
wxBitmap
$bitmap
,
string
$help_string
=
wxEmptyString
)
Add a dropdown button to the button bar (simple version).
AddHybridButton
wxRibbonButtonBarButtonBase
&
AddHybridButton
(
integer
$button_id
,
string
$label
,
wxBitmap
$bitmap
,
string
$help_string
=
wxEmptyString
)
Add a hybrid button to the button bar (simple version).
AddToggleButton
wxRibbonButtonBarButtonBase
&
AddToggleButton
(
integer
$button_id
,
string
$label
,
wxBitmap
$bitmap
,
string
$help_string
=
wxEmptyString
)
Add a toggle button to the button bar (simple version).
ClearButtons
ClearButtons
( )
Delete all buttons from the button bar.
Create
bool
Create
(
wxWindow
&
$parent
,
integer
$id
=
wxID_ANY
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
)
Create a button bar in two-step button bar construction.
DeleteButton
bool
DeleteButton
(
integer
$button_id
)
Delete a single button from the button bar.
EnableButton
EnableButton
(
integer
$button_id
,
bool
$enable
=
true
)
Enable or disable a single button on the bar.
Realize
bool
Realize
( )
Calculate button layouts and positions.
ToggleButton
ToggleButton
(
integer
$button_id
,
bool
$checked
)
Set a toggle button to the checked or unchecked state.