Handles events related to RibbonGallery
.
Default class constructor. |
|
Returns the gallery which the event relates to. |
|
Returns the gallery item which the event relates to, or |
|
Sets the gallery relating to this event. |
|
Sets the gallery item relating to this event. |
RibbonGalleryEvent
(wx.PyCommandEvent)¶Handles events related to RibbonGallery
.
__init__
(self, command_type=None, win_id=0, gallery=None, item=None)¶Default class constructor.
command_type (integer) – the event type;
win_id (integer) – the event identifier;
gallery – an instance of RibbonGallery
;
item – an instance of RibbonGalleryItem
.
GetGallery
(self)¶Returns the gallery which the event relates to.
GetGalleryItem
(self)¶Returns the gallery item which the event relates to, or None
if it does not relate to an item.
SetGallery
(self, gallery)¶Sets the gallery relating to this event.
gallery – an instance of RibbonGallery
.
SetGalleryItem
(self, item)¶Sets the gallery item relating to this event.
item – an instance of RibbonGalleryItem
.