wx.ribbon.RibbonGalleryEvent¶See also
Class Hierarchy¶
Inheritance diagram for class RibbonGalleryEvent:
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¶wx.ribbon.RibbonGalleryEvent(CommandEvent)¶Possible constructors:
RibbonGalleryEvent(command_type: EventType=wxEVT_NULL, win_id: int=0,
gallery: Optional[RibbonGallery]=None, item:
Optional[RibbonGalleryItem]=None) -> None
__init__(self, command_type: EventType=wxEVT_NULL, win_id: int=0, gallery: Optional[RibbonGallery]=None, item: Optional[RibbonGalleryItem]=None)¶Constructor.
command_type (wx.EventType) –
win_id (int) –
gallery (wx.ribbon.RibbonGallery) –
item (RibbonGalleryItem) –
None
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.
RibbonGalleryItem
SetGallery(self, gallery : RibbonGallery)¶Sets the gallery relating to this event.
gallery (wx.ribbon.RibbonGallery) –
None
SetGalleryItem(self, item : RibbonGalleryItem)¶Sets the gallery item relating to this event.
item (RibbonGalleryItem) –
None
Gallery¶See GetGallery and SetGallery
GalleryItem¶See GetGalleryItem and SetGalleryItem