Handles events related to RibbonPanel
.
Default class constructor. |
|
Returns the panel which the event relates to. |
|
Sets the panel relating to this event. |
RibbonPanelEvent
(wx.PyCommandEvent)¶Handles events related to RibbonPanel
.
__init__
(self, command_type=None, win_id=0, panel=None)¶Default class constructor.
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.
panel – an instance of RibbonPanel
.