#include <wx/ribbon/buttonbar.h>

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 (wxEventType command_type=wxEVT_NULL, int win_id=0, wxRibbonGallery *gallery=NULL, wxRibbonGalleryItem *item=NULL) | |
| Constructor. | |
| wxRibbonGallery * | GetGallery () |
| Returns the gallery which the event relates to. | |
| wxRibbonGalleryItem * | GetGalleryItem () |
| Returns the gallery item which the event relates to, or NULL if it does not relate to an item. | |
| void | SetGallery (wxRibbonGallery *gallery) |
| Sets the gallery relating to this event. | |
| void | SetGalleryItem (wxRibbonGalleryItem *item) |
| Sets the gallery item relating to this event. | |
| wxRibbonButtonBarEvent::wxRibbonButtonBarEvent | ( | wxEventType | command_type = wxEVT_NULL, |
|
| int | win_id = 0, |
|||
| wxRibbonButtonBar * | bar = NULL | |||
| ) |
Constructor.
| wxRibbonButtonBarEvent::wxRibbonButtonBarEvent | ( | wxEventType | command_type = wxEVT_NULL, |
|
| int | win_id = 0, |
|||
| wxRibbonGallery * | gallery = NULL, |
|||
| wxRibbonGalleryItem * | item = NULL | |||
| ) |
Constructor.
| wxRibbonButtonBar* wxRibbonButtonBarEvent::GetBar | ( | ) |
Returns the bar which contains the button which the event relates to.
| wxRibbonGallery* wxRibbonButtonBarEvent::GetGallery | ( | ) |
Returns the gallery which the event relates to.
| wxRibbonGalleryItem* wxRibbonButtonBarEvent::GetGalleryItem | ( | ) |
Returns the gallery item which the event relates to, or NULL if it does not relate to an item.
| 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.
| void wxRibbonButtonBarEvent::SetGallery | ( | wxRibbonGallery * | gallery | ) |
Sets the gallery relating to this event.
| void wxRibbonButtonBarEvent::SetGalleryItem | ( | wxRibbonGalleryItem * | item | ) |
Sets the gallery item relating to this event.
|
[ top ] |