def setMainWindow(self, mainWindow):
        self.addWindow(mainWindow)
        self._mainWindow = mainWindow
Finishes initializing the editor by creating the underlying toolkit
dataset/ETHPy150Open rwl/muntjac/muntjac/application.py/Application.setMainWindow--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/extra/windows/flash_editor.py/_FlashEditor.init