def METHOD_NAME(self, step: int):
    if self.selection_valid():
        if step != 0:
            self.selection = clamp(0, len(self) - 1, self.selection + step)
            self._update_view(step)
            self.on_selection_change()