FreeCADGuiInit.Workbench Class Reference

Public Member Functions

def appendCommandbar (self, name, cmds)
 
def appendContextMenu (self, name, cmds)
 
def appendMenu (self, name, cmds)
 
def appendToolbar (self, name, cmds)
 
def ContextMenu (self, recipient)
 
def GetClassName (self)
 
def getToolbarItems (self)
 
def Initialize (self)
 
def listCommandbars (self)
 
def listMenus (self)
 
def listToolbars (self)
 
def name (self)
 
def reloadActive (self)
 
def removeCommandbar (self, name)
 
def removeContextMenu (self, name)
 
def removeMenu (self, name)
 
def removeToolbar (self, name)
 

Static Public Attributes

 Icon = None
 
string MenuText = ""
 
string ToolTip = ""
 

Detailed Description

The workbench base class.

Member Function Documentation

◆ appendCommandbar()

def FreeCADGuiInit.Workbench.appendCommandbar (   self,
  name,
  cmds 
)

◆ appendContextMenu()

def FreeCADGuiInit.Workbench.appendContextMenu (   self,
  name,
  cmds 
)

◆ appendMenu()

◆ appendToolbar()

◆ ContextMenu()

def FreeCADGuiInit.Workbench.ContextMenu (   self,
  recipient 
)

◆ GetClassName()

def FreeCADGuiInit.Workbench.GetClassName (   self)
Return the name of the associated C++ class.

Reimplemented in FreeCADGuiInit.StandardWorkbench, and FreeCADGuiInit.NoneWorkbench.

◆ getToolbarItems()

def FreeCADGuiInit.Workbench.getToolbarItems (   self)

◆ Initialize()

def FreeCADGuiInit.Workbench.Initialize (   self)
Initializes this workbench.

Reimplemented in FreeCADGuiInit.StandardWorkbench, and FreeCADGuiInit.NoneWorkbench.

◆ listCommandbars()

def FreeCADGuiInit.Workbench.listCommandbars (   self)

◆ listMenus()

def FreeCADGuiInit.Workbench.listMenus (   self)

◆ listToolbars()

def FreeCADGuiInit.Workbench.listToolbars (   self)

◆ name()

◆ reloadActive()

def FreeCADGuiInit.Workbench.reloadActive (   self)

◆ removeCommandbar()

def FreeCADGuiInit.Workbench.removeCommandbar (   self,
  name 
)

◆ removeContextMenu()

def FreeCADGuiInit.Workbench.removeContextMenu (   self,
  name 
)

◆ removeMenu()

def FreeCADGuiInit.Workbench.removeMenu (   self,
  name 
)

◆ removeToolbar()

def FreeCADGuiInit.Workbench.removeToolbar (   self,
  name 
)

Member Data Documentation

◆ Icon

FreeCADGuiInit.Workbench.Icon = None
static

◆ MenuText

string FreeCADGuiInit.Workbench.MenuText = ""
static

◆ ToolTip

string FreeCADGuiInit.Workbench.ToolTip = ""
static

The documentation for this class was generated from the following file: