

def hidePage(self, page):
    ' Hide the given 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 QPage instance to hide in the notebook.\n\n        '
    index = self.indexOf(page)
    if (index != (- 1)):
        self.removeTab(index)
        page.hide()
        self._hidden_pages[page] = self

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_notebook.py QNotebook.hidePage/VarMisuse@55/156 `index`->`self`