Functions | |
def | addBottom (name, toolbars) |
def | addLeft (name, toolbars) |
def | addRight (name, toolbars) |
def | addTop (name, toolbars) |
def | clear () |
def PersistentToolbars.addBottom | ( | name, | |
toolbars | |||
) |
addBottom("name", ["toolbars"]) Description: Look at addTop for more information.
def PersistentToolbars.addLeft | ( | name, | |
toolbars | |||
) |
addLeft("name", ["toolbars"]) Description: Look at addTop for more information.
def PersistentToolbars.addRight | ( | name, | |
toolbars | |||
) |
addRight("name", ["toolbars"]) Description: Look at addTop for more information.
Referenced by addTop().
def PersistentToolbars.addTop | ( | name, | |
toolbars | |||
) |
addTop("name", ["toolbars"]) Example for Sketcher workbench (InitGui.py): try: import PersistentToolbars toolbars = ["Sketcher constraints", "Break", "Sketcher geometries"] PersistentToolbars.addRight("SketcherWorkbench", toolbars) except ImportError: pass Description: Provides ability to preset toolbar position for any workbench. Settings are deleted when FreeCAD exits normally. After user customizes workbench toolbar position this setting has no effect anymore. Customized toolbar position set by the user is used instead.
References addRight().
def PersistentToolbars.clear | ( | ) |
Delete all user and system toolbar position data.