code: def mouse_press_event(self, event):
          
          # Support left and right mouse button for now
          if event.button() not in [1, 2]:
              return
  
          self.example.mouse_press_event(event.x(), event.y(), event.button())
docs: Forward mouse press events to the example