

def get_nth_page(self, idx):
    if (0 <= idx < len(self.children)):
        subwin = self.children[idx]
        return subwin.widget
    return None

dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/GtkHelp.py MDIWidget.get_nth_page/original