parameters: ()
return_statement: return None
docstring: Return the FreeCAD main window.
docstring_summary: Return the FreeCAD main window.
docstring_tokens: Return the FreeCAD main window .
function: def getMainWindow():
      """ Return the FreeCAD main window. """
      toplevel = PySide.QtGui.QApplication.topLevelWidgets()
      for i in toplevel:
          if i.metaObject().className() == "Gui::MainWindow":
              return i
      return None
function_tokens: def getMainWindow ( ) : toplevel = PySide . QtGui . QApplication . topLevelWidgets ( ) for i in toplevel : if i . metaObject ( ) . className ( ) == "Gui::MainWindow" : return i return None