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