Phoenix Logo

phoenix_title wx.lib.agw.flatmenu.ToolBarItem

A simple class that holds information about a toolbar item.


class_hierarchy Class Hierarchy

Inheritance diagram for class ToolBarItem:

method_summary Methods Summary

__init__ Default class constructor.

api Class API



class ToolBarItem(object)

A simple class that holds information about a toolbar item.


Methods



__init__(self, tbItem, rect, state)

Default class constructor.

Parameters:
  • tbItem – an instance of FlatToolbarItem;
  • rect – the client rectangle for the toolbar item, an instance of wx.Rect;
  • state (integer) – the toolbar item state.

See also

wx.MenuEntryInfo.SetState() for a list of valid item states.