parameters: (self)
return_statement: return {'Pixmap': 'Draft_Line',
                  'Accel': "L,I",
                  'MenuText': QT_TRANSLATE_NOOP("Draft_Line", "Line"),
                  'ToolTip': QT_TRANSLATE_NOOP("Draft_Line", "Creates a 2-point line. CTRL to snap, SHIFT to constrain.")}
docstring: Set icon, menu and tooltip.
docstring_summary: Set icon, menu and tooltip.
docstring_tokens: Set icon menu and tooltip .
function: def GetResources(self):
          """Set icon, menu and tooltip."""
  
          return {'Pixmap': 'Draft_Line',
                  'Accel': "L,I",
                  'MenuText': QT_TRANSLATE_NOOP("Draft_Line", "Line"),
                  'ToolTip': QT_TRANSLATE_NOOP("Draft_Line", "Creates a 2-point line. CTRL to snap, SHIFT to constrain.")}
function_tokens: def GetResources ( self ) : return { 'Pixmap' : 'Draft_Line' , 'Accel' : "L,I" , 'MenuText' : QT_TRANSLATE_NOOP ( "Draft_Line" , "Line" ) , 'ToolTip' : QT_TRANSLATE_NOOP ( "Draft_Line" , "Creates a 2-point line. CTRL to snap, SHIFT to constrain." ) }