

def showPage(self, page):
    ' Show a hidden QPage instance in the notebook.\n\n        If the page is not owned by the notebook, this is a no-op.\n\n        Parameters\n        ----------\n        page : QPage\n            The hidden QPage instance to show in the notebook.\n\n        '
    index = self.indexOf(page)
    if (index == (- 1)):
        index = self._hidden_pages.pop(self, (- 1))
        if (index != (- 1)):
            self.insertPage(index, page)

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_notebook.py QNotebook.showPage/VarMisuse@43/145 `page`->`self`