code: def print_mouse_event(self, event, what):
      modifiers = ", ".join([key.name for key in event.modifiers])
      print(
          "%s - pos: %r, button: %s, modifiers: %s, delta: %r"
          % (what, event.pos, event.button, modifiers, event.delta)
      )
  
file_path: vispy/examples/tutorial/app/app_events.py
imports: from vispy import gloo, app
label_desc: Use image node_id 10 for calling the Canvas obj's underlying member method code with example usage: obj.print_mouse_event(event, what) without return types