code: def on_click(self, event):
          
          self._no_force_on_change = True
          button = event["button"]
          if button == 4:
              self._switch_selection(-1)
          if button in [1, 5]:
              self._switch_selection(1)
          if button == 2:
              self._choose_what_to_display(force_refresh=True)
          if button == 3:
              self._apply()
docs: Click events
              - left click & scroll up/down: switch between modes
              - right click: apply selected mode
              - middle click: force refresh of available modes