Phoenix Logo

phoenix_title wx.lib.agw.ribbon.panel.RibbonPanelEvent

Handles events related to RibbonPanel.


class_hierarchy Class Hierarchy

Inheritance diagram for class RibbonPanelEvent:

super_classes Known Superclasses

wx.PyCommandEvent


method_summary Methods Summary

__init__ Default class constructor.
GetPanel Returns the panel which the event relates to.
SetPanel Sets the panel relating to this event.

api Class API



class RibbonPanelEvent(wx.PyCommandEvent)

Handles events related to RibbonPanel.


Methods



__init__(self, command_type=None, win_id=0, panel=None)

Default class constructor.

Parameters:
  • command_type (integer) – the event type;
  • win_id (integer) – the event identifier;
  • panel – an instance of RibbonPanel;


GetPanel(self)

Returns the panel which the event relates to.



SetPanel(self, panel)

Sets the panel relating to this event.

Parameters:panel – an instance of RibbonPanel.