.. 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.flatmenu
.. highlight:: python
.. _wx.lib.agw.flatmenu.ToolBarItem:
==========================================================================================================================================
|phoenix_title| **wx.lib.agw.flatmenu.ToolBarItem**
==========================================================================================================================================
A simple class that holds information about a toolbar item.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
ToolBarItem:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.agw.flatmenu.ToolBarItem.__init__` Default class constructor.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: ToolBarItem(object)
A simple class that holds information about a toolbar item.
.. method:: __init__(self, tbItem, rect, state)
Default class constructor.
:param `tbItem`: an instance of :class:`FlatToolbarItem`;
:param `rect`: the client rectangle for the toolbar item, an instance of :class:`wx.Rect`;
:param integer `state`: the toolbar item state.
.. seealso:: :meth:`wx.MenuEntryInfo.SetState() ` for a list of valid item states.