Navigation

  • Home | 
  • Gallery | 
  • API Docs »
  • wx.lib »
  • wx.lib.agw »
  • wx.lib.agw.ribbon »
  • wx.lib.agw.ribbon.gallery »
  • wx.lib.agw.ribbon.gallery.RibbonGalleryEvent
  • index
  • modules |
  • next |
  • previous |

phoenix_title wx.lib.agw.ribbon.gallery.RibbonGalleryEvent¶

Handles events related to RibbonGallery.


class_hierarchy Class Hierarchy¶

Inheritance diagram for class RibbonGalleryEvent:

Inheritance diagram of RibbonGalleryEvent


super_classes Known Superclasses¶

wx.PyCommandEvent


method_summary Methods Summary¶

__init__

Default class 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.


api Class API¶

class RibbonGalleryEvent(wx.PyCommandEvent)¶

Handles events related to RibbonGallery.


Methods¶

__init__(self, command_type=None, win_id=0, gallery=None, item=None)¶

Default class constructor.

Parameters
  • 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.

Parameters

gallery – an instance of RibbonGallery.



SetGalleryItem(self, item)¶

Sets the gallery item relating to this event.

Parameters

item – an instance of RibbonGalleryItem.

© Copyright 2012-2019, The wxPython Team. Created using Sphinx 2.2.0.