.. 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.aui.AuiToolBarEvent: ========================================================================================================================================== |phoenix_title| **wx.aui.AuiToolBarEvent** ========================================================================================================================================== :ref:`wx.aui.AuiToolBarEvent` is used for the events generated by :ref:`wx.aui.AuiToolBar`. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class AuiToolBarEvent:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.aui.AuiToolBarEvent.__init__` :meth:`~wx.aui.AuiToolBarEvent.GetClickPoint` Returns the point where the user clicked with the mouse. :meth:`~wx.aui.AuiToolBarEvent.GetItemRect` Returns the :ref:`wx.aui.AuiToolBarItem` rectangle bounding the mouse click point. :meth:`~wx.aui.AuiToolBarEvent.GetToolId` Returns the :ref:`wx.aui.AuiToolBarItem` identifier. :meth:`~wx.aui.AuiToolBarEvent.IsDropDownClicked` Returns whether the drop down menu has been clicked. :meth:`~wx.aui.AuiToolBarEvent.SetClickPoint` :meth:`~wx.aui.AuiToolBarEvent.SetDropDownClicked` :meth:`~wx.aui.AuiToolBarEvent.SetItemRect` :meth:`~wx.aui.AuiToolBarEvent.SetToolId` ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.aui.AuiToolBarEvent.ClickPoint` See :meth:`~wx.aui.AuiToolBarEvent.GetClickPoint` and :meth:`~wx.aui.AuiToolBarEvent.SetClickPoint` :attr:`~wx.aui.AuiToolBarEvent.ItemRect` See :meth:`~wx.aui.AuiToolBarEvent.GetItemRect` and :meth:`~wx.aui.AuiToolBarEvent.SetItemRect` :attr:`~wx.aui.AuiToolBarEvent.ToolId` See :meth:`~wx.aui.AuiToolBarEvent.GetToolId` and :meth:`~wx.aui.AuiToolBarEvent.SetToolId` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.aui.AuiToolBarEvent(NotifyEvent) **Possible constructors**:: AuiToolBarEvent(commandType=wxEVT_NULL, winId=0) AuiToolBarEvent(c) AuiToolBarEvent is used for the events generated by AuiToolBar. .. method:: __init__(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **__init__** `(self, commandType=wxEVT_NULL, winId=0)` :param `commandType`: :type `commandType`: wx.EventType :param `winId`: :type `winId`: int :html:`

` **__init__** `(self, c)` :param `c`: :type `c`: wx.aui.AuiToolBarEvent :html:`

` .. method:: GetClickPoint(self) Returns the point where the user clicked with the mouse. :rtype: `Point` .. method:: GetItemRect(self) Returns the :ref:`wx.aui.AuiToolBarItem` rectangle bounding the mouse click point. :rtype: `Rect` .. method:: GetToolId(self) Returns the :ref:`wx.aui.AuiToolBarItem` identifier. :rtype: `int` .. method:: IsDropDownClicked(self) Returns whether the drop down menu has been clicked. :rtype: `bool` .. method:: SetClickPoint(self, p) :param `p`: :type `p`: wx.Point .. method:: SetDropDownClicked(self, c) :param `c`: :type `c`: bool .. method:: SetItemRect(self, r) :param `r`: :type `r`: wx.Rect .. method:: SetToolId(self, toolId) :param `toolId`: :type `toolId`: int .. attribute:: ClickPoint See :meth:`~wx.aui.AuiToolBarEvent.GetClickPoint` and :meth:`~wx.aui.AuiToolBarEvent.SetClickPoint` .. attribute:: ItemRect See :meth:`~wx.aui.AuiToolBarEvent.GetItemRect` and :meth:`~wx.aui.AuiToolBarEvent.SetItemRect` .. attribute:: ToolId See :meth:`~wx.aui.AuiToolBarEvent.GetToolId` and :meth:`~wx.aui.AuiToolBarEvent.SetToolId`