docs(python): WorkbenchManipulator pattern #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Document the WorkbenchManipulator injection pattern: how ztools uses Gui.addWorkbenchManipulator() to inject commands into PartDesign toolbars/menus, modifyToolBars() and modifyMenuBar() return format, the known timing issue (commands not registered if ZToolsWorkbench not yet activated), and fragility if upstream renames commands. Files: mods/ztools/ztools/InitGui.py