The ToolBar class is a widget (which inherits QToolBar) and is used as the toolbar in forms. More...
Public Member Functions | |
| def | __init__ |
| Creates a new ToolBar instance. | |
| def | setup |
| Initializes the toolbar with a list of Action objects. | |
The ToolBar class is a widget (which inherits QToolBar) and is used as the toolbar in forms.
The Toolbar will have Vertical orientation and ToolButtonTextBesideIcon.
Definition at line 36 of file ToolBar.py.
| def Koo::Screen::ToolBar::ToolBar::__init__ | ( | self, | ||
parent = None | ||||
| ) |
Creates a new ToolBar instance.
Definition at line 38 of file ToolBar.py.
| def Koo::Screen::ToolBar::ToolBar::setup | ( | self, | ||
| actions | ||||
| ) |
Initializes the toolbar with a list of Action objects.
Note that it automatically adds a separator between actions of different types such as between 'print' and 'action'. This function can only be called once. Calling this function more times won't do anything.
Definition at line 49 of file ToolBar.py.