A simple class that holds information about a toolbar item.
Default class constructor. |
ToolBarItem
(object)¶A simple class that holds information about a toolbar item.
__init__
(self, tbItem, rect, state)¶Default class constructor.
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.