Event used to indicate various actions relating to a button on a wx.ribbon.RibbonButtonBar.
For toggle buttons, IsChecked
can be used to test the state of the button.
See wx.ribbon.RibbonButtonBar for available event types.
See also
Constructor. |
|
Returns the bar which contains the button which the event relates to. |
|
Returns the button which the event relates to. |
|
Display a popup menu as a result of this (dropdown clicked) event. |
|
Sets the button bar relating to this event. |
|
Sets the button relating to this event. |
Possible constructors:
RibbonButtonBarEvent(command_type=wxEVT_NULL, win_id=0, bar=None,
button=None)
Event used to indicate various actions relating to a button on a RibbonButtonBar.
Constructor.
command_type (wx.EventType) –
win_id (int) –
bar (wx.ribbon.RibbonButtonBar) –
button (RibbonButtonBarButtonBase) –
Returns the bar which contains the button which the event relates to.
Returns the button which the event relates to.
RibbonButtonBarButtonBase
New in version 2.9.5.
Display a popup menu as a result of this (dropdown clicked) event.
menu (wx.Menu) –
bool
Sets the button bar relating to this event.
bar (wx.ribbon.RibbonButtonBar) –
Sets the button relating to this event.
bar (RibbonButtonBarButtonBase) –
New in version 2.9.5.