parameters: (self)
return_statement: return {'Pixmap': 'Draft_Rectangle',
                  'Accel': "R, E",
                  'MenuText': QT_TRANSLATE_NOOP("Draft_Rectangle", "Rectangle"),
                  'ToolTip': QT_TRANSLATE_NOOP("Draft_Rectangle", "Creates a 2-point rectangle. CTRL to snap.")}
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_Rectangle',
                  'Accel': "R, E",
                  'MenuText': QT_TRANSLATE_NOOP("Draft_Rectangle", "Rectangle"),
                  'ToolTip': QT_TRANSLATE_NOOP("Draft_Rectangle", "Creates a 2-point rectangle. CTRL to snap.")}
function_tokens: def GetResources ( self ) : return { 'Pixmap' : 'Draft_Rectangle' , 'Accel' : "R, E" , 'MenuText' : QT_TRANSLATE_NOOP ( "Draft_Rectangle" , "Rectangle" ) , 'ToolTip' : QT_TRANSLATE_NOOP ( "Draft_Rectangle" , "Creates a 2-point rectangle. CTRL to snap." ) }