wx.aui.AuiToolBarItem is part of the AUI
class framework, representing a toolbar element.
See also wx.aui.AuiToolBar and AUI Overview.
It has a unique id (except for the separators which always have id = -1), the style (telling whether it is a normal button, separator or a control), the state (toggled or not, enabled or not) and short and long help strings. The default implementations use the short help string for the tooltip text which is popped up when the mouse pointer enters the tool and the long help string for the applications status bar (currently not implemented).
Default Constructor. |
|
Assigns the properties of the wx.aui.AuiToolBarItem “c” to this. |
|
Returns the toolbar item identifier. |
|
Returns the toolbar item kind. |
|
Returns the Window associated to the toolbar item. |
|
Returns whether the toolbar item has an associated drop down button. |
|
Set whether this tool has a drop down button. |
|
Sets the toolbar item identifier. |
|
Sets the wx.aui.AuiToolBarItem kind. |
|
Assigns a window to the toolbar item. |
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
Possible constructors:
AuiToolBarItem()
AuiToolBarItem(c)
AuiToolBarItem is part of the AUI
class framework, representing a
toolbar element.
__init__ (self)
Default Constructor.
__init__ (self, c)
Assigns the properties of the wx.aui.AuiToolBarItem “c” to this.
c (wx.aui.AuiToolBarItem) –
Assigns the properties of the wx.aui.AuiToolBarItem “c” to this.
c (wx.aui.AuiToolBarItem) –
int
Returns the toolbar item identifier.
int
Returns the toolbar item kind.
int
string
string
Size
int
string
int
int
long
Returns whether the toolbar item has an associated drop down button.
bool
bool
bool
b (bool) –
l (int) –
Set whether this tool has a drop down button.
This is only valid for wx.ITEM_NORMAL
tools.
b (bool) –
Sets the toolbar item identifier.
new_id (int) –
Sets the wx.aui.AuiToolBarItem kind.
new_kind (int) –
s (string) –
s (string) –
p (int) –
s (string) –
s (wx.SizerItem) –
s (int) –
new_state (int) –
b (bool) –
l (long) –
See GetAlignment
and SetAlignment
See GetDisabledBitmap
and SetDisabledBitmap
See GetHoverBitmap
and SetHoverBitmap
See GetLongHelp
and SetLongHelp
See GetMinSize
and SetMinSize
See GetProportion
and SetProportion
See GetShortHelp
and SetShortHelp
See GetSizerItem
and SetSizerItem
See GetSpacerPixels
and SetSpacerPixels
See GetUserData
and SetUserData