draftguitools.gui_togglemodes.ToggleConstructionMode Class Reference

Public Member Functions

def Activated (self)
 
def GetResources (self)
 
- Public Member Functions inherited from draftguitools.gui_togglemodes.BaseMode
def Activated (self, mode="None")
 
- Public Member Functions inherited from draftguitools.gui_base.GuiCommandSimplest
def IsActive (self)
 

Additional Inherited Members

- Public Attributes inherited from draftguitools.gui_base.GuiCommandSimplest
 command_name
 
 doc
 

Detailed Description

GuiCommand for the Draft_ToggleConstructionMode tool.

When construction mode is active, the following objects created
will be included in the construction group, and will be drawn
with the specified color and properties.

Member Function Documentation

◆ Activated()

def draftguitools.gui_togglemodes.ToggleConstructionMode.Activated (   self)
Execute when the command is called.

It calls the `toggle()` method of the construction button
in the `DraftToolbar` class.

Reimplemented from draftguitools.gui_base.GuiCommandSimplest.

◆ GetResources()

def draftguitools.gui_togglemodes.ToggleConstructionMode.GetResources (   self)
Set icon, menu and tooltip.

The documentation for this class was generated from the following file:
  • src/Mod/Draft/draftguitools/gui_togglemodes.py