def to_next(self):
        num_tabs = self.nb.num_children()
        cur_idx = self.nb.get_index()
        new_idx = (cur_idx + 1) % num_tabs
        self.nb.set_index(new_idx)
        self.focus_index()
dataset/ETHPy150Open ejeschke/ginga/ginga/gw/Desktop.py/Workspace.to_next/original