示例#1
0
 def tab_(event):
     focus_next(event)
示例#2
0
        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)
示例#3
0
 def _(event):
     focus_next(event)
示例#4
0
 def increase_preference(event):
     modified = self._modify_setting(SettingsModifyMode.INCREASE)
     if not modified:  # treat as regular event
         focus_next(event)
示例#5
0
 def next_option(event):
     focus_next(event)
示例#6
0
def tab_(event):
    updateState()
    #refresh UI
    focus_next(event)
示例#7
0
 def _(event):
     if self.index >= len(self.elements) - 1:
         focus_next(event)
     else:
         self.next()