def tab_(event): focus_next(event)
def _down(event: E) -> None: if self._selected_index == len(self.values) - 1: focus_next(event) return self._selected_index = min(len(self.values) - 1, self._selected_index + 1)
def _(event): focus_next(event)
def increase_preference(event): modified = self._modify_setting(SettingsModifyMode.INCREASE) if not modified: # treat as regular event focus_next(event)
def next_option(event): focus_next(event)
def tab_(event): updateState() #refresh UI focus_next(event)
def _(event): if self.index >= len(self.elements) - 1: focus_next(event) else: self.next()