def toolWindow(self):
        if not hasattr(self, '_toolWindow'):
            self._toolWindow = QToolWindow(self, self.parent and self.parent())
        elif self._toolWindow.centralwidget!=self:
            self._toolWindow.window.setCentralWidget(self)
        return self._toolWindow
toolWindow() -> None        
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/common_widgets.py/QToolWindowInterface.toolWindow