#include </home/zeitlin/src/wx/github/interface/wx/ribbon/gallery.h>
Public Member Functions | |
wxRibbonGalleryEvent (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. |
wxRibbonGalleryEvent::wxRibbonGalleryEvent | ( | wxEventType | command_type = wxEVT_NULL , |
int | win_id = 0 , |
||
wxRibbonGallery * | gallery = NULL , |
||
wxRibbonGalleryItem * | item = NULL |
||
) |
Constructor.
wxRibbonGallery* wxRibbonGalleryEvent::GetGallery | ( | ) |
Returns the gallery which the event relates to.
wxRibbonGalleryItem* wxRibbonGalleryEvent::GetGalleryItem | ( | ) |
Returns the gallery item which the event relates to, or NULL if it does not relate to an item.
void wxRibbonGalleryEvent::SetGallery | ( | wxRibbonGallery * | gallery | ) |
Sets the gallery relating to this event.
void wxRibbonGalleryEvent::SetGalleryItem | ( | wxRibbonGalleryItem * | item | ) |
Sets the gallery item relating to this event.