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