InitGui.DraftWorkbench Class Reference
Public Member Functions | |
def | Activated (self) |
def | ContextMenu (self, recipient) |
def | Deactivated (self) |
def | GetClassName (self) |
def | Initialize (self) |
Public Attributes | |
annotation_commands | |
context_commands | |
drawing_commands | |
line_commands | |
modification_commands | |
utility_commands | |
utility_small | |
Detailed Description
The Draft Workbench definition.
Member Function Documentation
◆ Activated()
def InitGui.DraftWorkbench.Activated | ( | self | ) |
When entering the workbench.
◆ ContextMenu()
def InitGui.DraftWorkbench.ContextMenu | ( | self, | |
recipient | |||
) |
Define an optional custom context menu.
References Gui::PythonWorkbenchPy.appendContextMenu(), FreeCADGuiInit.Workbench.appendContextMenu(), Gui::PythonBaseWorkbench.appendContextMenu(), InitGui.DraftWorkbench.context_commands, InitGui.DraftWorkbench.drawing_commands, InitGui.DraftWorkbench.line_commands, and InitGui.DraftWorkbench.modification_commands.
◆ Deactivated()
def InitGui.DraftWorkbench.Deactivated | ( | self | ) |
When quitting the workbench.
◆ GetClassName()
def InitGui.DraftWorkbench.GetClassName | ( | self | ) |
Type of workbench.
◆ Initialize()
def InitGui.DraftWorkbench.Initialize | ( | self | ) |
When the workbench is first loaded.
Member Data Documentation
◆ annotation_commands
InitGui.DraftWorkbench.annotation_commands |
◆ context_commands
InitGui.DraftWorkbench.context_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ drawing_commands
InitGui.DraftWorkbench.drawing_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ line_commands
InitGui.DraftWorkbench.line_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ modification_commands
InitGui.DraftWorkbench.modification_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ utility_commands
InitGui.DraftWorkbench.utility_commands |
◆ utility_small
InitGui.DraftWorkbench.utility_small |
The documentation for this class was generated from the following file:
- src/Mod/Draft/InitGui.py