.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.agw.ribbon.panel .. highlight:: python .. _wx.lib.agw.ribbon.panel.RibbonPanelEvent: ========================================================================================================================================== |phoenix_title| **wx.lib.agw.ribbon.panel.RibbonPanelEvent** ========================================================================================================================================== Handles events related to :class:`RibbonPanel`. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class RibbonPanelEvent:
| |super_classes| Known Superclasses ================================== :class:`wx.PyCommandEvent` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.agw.ribbon.panel.RibbonPanelEvent.__init__` Default class constructor. :meth:`~wx.lib.agw.ribbon.panel.RibbonPanelEvent.GetPanel` Returns the panel which the event relates to. :meth:`~wx.lib.agw.ribbon.panel.RibbonPanelEvent.SetPanel` Sets the panel relating to this event. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: RibbonPanelEvent(wx.PyCommandEvent) Handles events related to :class:`RibbonPanel`. .. method:: __init__(self, command_type=None, win_id=0, panel=None) Default class constructor. :param integer `command_type`: the event type; :param integer `win_id`: the event identifier; :param `panel`: an instance of :class:`RibbonPanel`; .. method:: GetPanel(self) Returns the panel which the event relates to. .. method:: SetPanel(self, panel) Sets the panel relating to this event. :param `panel`: an instance of :class:`RibbonPanel`.