code: def mouse_press_event(self, x, y, button):
          
          if button == 1:
              print("Left mouse button pressed @", x, y)
          if button == 2:
              print("Right mouse button pressed @", x, y)
docs: Reports left and right mouse button presses + position