wx.ribbon.RibbonGalleryEvent¶
See also
Class Hierarchy¶
Methods Summary¶
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. |
Properties Summary¶
See |
|
See |
Class API¶
- class wx.ribbon.RibbonGalleryEvent(CommandEvent)¶
Possible constructors:
RibbonGalleryEvent(command_type=wxEVT_NULL, win_id=0, gallery=None, item=None) -> None
Methods¶
- __init__(self, command_type=wxEVT_NULL, win_id=0, gallery=None, item=None)¶
Constructor.
- Parameters:
command_type (wx.EventType)
win_id (int)
gallery (wx.ribbon.RibbonGallery)
item (RibbonGalleryItem)
- Return type:
None
- GetGallery(self)¶
Returns the gallery which the event relates to.
- Return type:
- GetGalleryItem(self)¶
Returns the gallery item which the event relates to, or
None
if it does not relate to an item.- Return type:
RibbonGalleryItem
- SetGallery(self, gallery)¶
Sets the gallery relating to this event.
- Parameters:
gallery (wx.ribbon.RibbonGallery)
- Return type:
None
- SetGalleryItem(self, item)¶
Sets the gallery item relating to this event.
- Parameters:
item (RibbonGalleryItem)
- Return type:
None
Properties¶
- Gallery¶
See
GetGallery
andSetGallery
- GalleryItem¶
See
GetGalleryItem
andSetGalleryItem