parameters: (self, menu)
docstring: Adds output options to the 'Results' menu.
docstring_summary: Adds output options to the 'Results' menu.
docstring_tokens: Adds output options to the Results menu .
function: def addToMenu(self, menu):
          """
          Adds output options to the 'Results' menu.
          """
          self.LiveScript = menu.addAction('Show live script')
          self.LiveScript.setCheckable(True)
          self.LiveScript.setChecked(False)
          self.LiveScript.setEnabled(False)
          self.LiveScript.toggled.connect(self._callbackLiveScript)
  
          menu.addSeparator()
          export = menu.addMenu('Export')
  
          self.ExportPNG = export.addAction('PNG')
          self.ExportPNG.triggered.connect(self._callbackExportPNG)
          self.ExportPNG.setEnabled(False)
  
          self.ExportPython = export.addAction('Python')
          self.ExportPython.triggered.connect(self._callbackExportPython)
          self.ExportPython.setEnabled(False)
function_tokens: def addToMenu ( self , menu ) : self . LiveScript = menu . addAction ( 'Show live script' ) self . LiveScript . setCheckable ( True ) self . LiveScript . setChecked ( False ) self . LiveScript . setEnabled ( False ) self . LiveScript . toggled . connect ( self . _callbackLiveScript ) menu . addSeparator ( ) export = menu . addMenu ( 'Export' ) self . ExportPNG = export . addAction ( 'PNG' ) self . ExportPNG . triggered . connect ( self . _callbackExportPNG ) self . ExportPNG . setEnabled ( False ) self . ExportPython = export . addAction ( 'Python' ) self . ExportPython . triggered . connect ( self . _callbackExportPython ) self . ExportPython . setEnabled ( False )