#include </home/zeitlin/src/wx/github/interface/wx/ribbon/buttonbar.h>
Inheritance diagram for wxRibbonButtonBarEvent:Event used to indicate various actions relating to a button on a wxRibbonButtonBar.
For toggle buttons, IsChecked() can be used to test the state of the button.
See wxRibbonButtonBar for available event types.
Public Member Functions | |
| wxRibbonButtonBarEvent (wxEventType command_type=wxEVT_NULL, int win_id=0, wxRibbonButtonBar *bar=NULL) | |
| Constructor. | |
| wxRibbonButtonBar * | GetBar () |
| Returns the bar which contains the button which the event relates to. | |
| void | SetBar (wxRibbonButtonBar *bar) |
| Sets the button bar relating to this event. | |
| bool | PopupMenu (wxMenu *menu) |
| Display a popup menu as a result of this (dropdown clicked) event. | |
| wxRibbonButtonBarEvent::wxRibbonButtonBarEvent | ( | wxEventType | command_type = wxEVT_NULL, |
| int | win_id = 0, |
||
| wxRibbonButtonBar * | bar = NULL |
||
| ) |
Constructor.
| wxRibbonButtonBar* wxRibbonButtonBarEvent::GetBar | ( | ) |
Returns the bar which contains the button which the event relates to.
| bool wxRibbonButtonBarEvent::PopupMenu | ( | wxMenu * | menu | ) |
Display a popup menu as a result of this (dropdown clicked) event.
| void wxRibbonButtonBarEvent::SetBar | ( | wxRibbonButtonBar * | bar | ) |
Sets the button bar relating to this event.