code: def mouse_event_callback(self, window, xpos, ypos):
          
          # screen coordinates relative to the top-left corner
          self.example.mouse_position_event(xpos, ypos)
docs: Mouse event callback from glfw.
          Translates the events forwarding them to :py:func:`cursor_event`.
  
          Args:
              window: The window
              xpos: viewport x pos
              ypos: viewport y pos