__init__ | Default class constructor. |
AddButton | Add a button to the button bar. |
AddDropdownButton | Add a dropdown button to the button bar (simple version). |
AddHybridButton | Add a hybrid button to the button bar (simple version). |
AddSimpleButton | Add a button to the button bar (simple version). |
AddToggleButton | Add a toggle button to the button bar. |
ClearButtons | Delete all buttons from the button bar. |
CommonInit | |
DeleteButton | Delete a single button from the button bar. |
DoGetBestSize | |
DoGetNextLargerSize | |
DoGetNextSmallerSize | |
EnableButton | Enable or disable a single button on the bar. |
FetchButtonSizeInfo | |
GetDefaultBorder | |
GetMinSize | |
IsButtonEnabled | Returns whether a button in the bar is enabled or not. |
IsSizingContinuous | |
MakeDisabledBitmap | |
MakeLayouts | |
MakeResizedBitmap | |
OnEraseBackground | |
OnMouseDown | |
OnMouseEnter | |
OnMouseLeave | |
OnMouseMove | |
OnMouseUp | |
OnPaint | |
OnSize | |
Realize | Calculate button layouts and positions. |
SetArtProvider | |
ToggleButton | Toggles/untoggles a RibbonButtonBar toggle button. |
TryCollapseLayout |
Default class constructor.
Parameters: |
|
---|
Add a button to the button bar.
Parameters: |
|
---|---|
Returns: | An opaque pointer which can be used only with other button bar methods. |
See also
Add a dropdown button to the button bar (simple version).
Parameters: |
|
---|
See also
Add a hybrid button to the button bar (simple version).
Parameters: |
|
---|
See also
Add a button to the button bar (simple version).
Parameters: |
|
---|
Add a toggle button to the button bar.
Parameters: |
|
---|
See also
Delete all buttons from the button bar.
See also
Delete a single button from the button bar.
Parameters: | button_id – ID of the button to delete. |
---|
See also
Enable or disable a single button on the bar.
Parameters: |
|
---|
Returns whether a button in the bar is enabled or not.
Parameters: | button_id – ID of the button to check. |
---|
Calculate button layouts and positions.
Must be called after buttons are added to the button bar, as otherwise the newly added buttons will not be displayed. In normal situations, it will be called automatically when RibbonBar.Realize() is called.
Note
Reimplemented from RibbonControl.
Toggles/untoggles a RibbonButtonBar toggle button.
Parameters: |
|
---|