wx.aui.AuiDefaultToolBarArt¶ wx.aui.AuiDefaultToolBarArt is part of the AUI class framework.
See also wx.aui.AuiToolBarArt , wx.aui.AuiToolBar and AUI Overview.
Class Hierarchy¶
Inheritance diagram for class AuiDefaultToolBarArt:
Methods Summary¶Return the size of the element. |
|
Return the size of the label for the given item. |
|
Return the size of the given item. |
|
Change the size of the element. |
|
Properties Summary¶See |
Class API¶Possible constructors:
AuiDefaultToolBarArt() -> None
AuiDefaultToolBarArt is part of the AUI class framework.
None
dc (wx.DC)
wnd (wx.Window)
item (wx.aui.AuiToolBarItem)
rect (wx.Rect)
None
dc (wx.DC)
wnd (wx.Window)
item (wx.aui.AuiToolBarItem)
rect (wx.Rect)
None
dc (wx.DC)
wnd (wx.Window)
item (wx.aui.AuiToolBarItem)
rect (wx.Rect)
None
dc (wx.DC)
wnd (wx.Window)
item (wx.aui.AuiToolBarItem)
rect (wx.Rect)
None
Return the size of the element.
Implement the base class pure virtual function by returning the default element size or the last value passed to SetElementSize .
elementId (int)
int
int
Return the size of the label for the given item.
Note that the type of dc was wx.DC until wxWidgets 3.3.0, where it was changed to wx.ReadOnlyDC as this function doesn’t modify the DC contents.
dc (wx.ReadOnlyDC)
wnd (wx.Window)
item (wx.aui.AuiToolBarItem)
Size
int
Return the size of the given item.
Note that the type of dc was wx.DC until wxWidgets 3.3.0, where it was changed to wx.ReadOnlyDC as this function doesn’t modify the DC contents.
dc (wx.ReadOnlyDC)
wnd (wx.Window)
item (wx.aui.AuiToolBarItem)
Size
Change the size of the element.
Implements the base class pure virtual function by storing the value to be returned by GetElementSize and used by GetElementSizeForWindow .
As for the base class function, size is in DIPs, not pixels, so wx.Window.FromDIP should not be used for it.
elementId (int)
size (int)
None
flags (int)
None
orientation (int)
None
wnd (wx.Window)
items (AuiToolBarItemArray)
int
See GetTextOrientation and SetTextOrientation