match event.get(): case Click((x, y)): handle_click_at(x, y)