draftguitools.gui_grid.ToggleGrid Class Reference

Public Member Functions

def Activated (self)
 
def GetResources (self)
 
- 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

The Draft ToggleGrid command definition.

If the grid tracker is invisible (hidden), it makes it visible (shown);
and if it is visible, it hides it.

It inherits `GuiCommandSimplest` to set up the document
and other behavior. See this class for more information.

Member Function Documentation

◆ Activated()

def draftguitools.gui_grid.ToggleGrid.Activated (   self)
Execute when the command is called.

Reimplemented from draftguitools.gui_base.GuiCommandSimplest.

◆ GetResources()

def draftguitools.gui_grid.ToggleGrid.GetResources (   self)
Set icon, menu and tooltip.

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