.. 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
.. _wx.ribbon.RibbonToolBarEvent:
==========================================================================================================================================
|phoenix_title| **wx.ribbon.RibbonToolBarEvent**
==========================================================================================================================================
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
RibbonToolBarEvent:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.ribbon.RibbonToolBarEvent.__init__`
:meth:`~wx.ribbon.RibbonToolBarEvent.GetBar`
:meth:`~wx.ribbon.RibbonToolBarEvent.PopupMenu`
:meth:`~wx.ribbon.RibbonToolBarEvent.SetBar`
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.ribbon.RibbonToolBarEvent.Bar` See :meth:`~wx.ribbon.RibbonToolBarEvent.GetBar` and :meth:`~wx.ribbon.RibbonToolBarEvent.SetBar`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.ribbon.RibbonToolBarEvent(CommandEvent)
**Possible constructors**::
RibbonToolBarEvent(command_type: EventType=wxEVT_NULL, win_id: int=0,
bar: Optional[RibbonToolBar]=None) -> None
.. method:: __init__(self, command_type: EventType=wxEVT_NULL, win_id: int=0, bar: Optional[RibbonToolBar]=None)
:param `command_type`:
:type `command_type`: wx.EventType
:param `win_id`:
:type `win_id`: int
:param `bar`:
:type `bar`: wx.ribbon.RibbonToolBar
:rtype: `None`
.. method:: GetBar(self)
:rtype: :ref:`wx.ribbon.RibbonToolBar`
.. method:: PopupMenu(self, menu : Menu)
:param `menu`:
:type `menu`: wx.Menu
:rtype: `bool`
.. method:: SetBar(self, bar : RibbonToolBar)
:param `bar`:
:type `bar`: wx.ribbon.RibbonToolBar
:rtype: `None`
.. attribute:: Bar
See :meth:`~wx.ribbon.RibbonToolBarEvent.GetBar` and :meth:`~wx.ribbon.RibbonToolBarEvent.SetBar`