class_docstr: Pyglet backend for Canvas abstract class.
class_docstr_tok: ["Pyglet","backend","for","Canvas","abstract","class","."]
code: def on_mouse_scroll(self, x, y, scroll_x, scroll_y):
      if self._vispy_canvas is None:
          return
      self._vispy_canvas.events.mouse_wheel(
          delta=(float(scroll_x), float(scroll_y)),
          pos=(x, self.get_size()[1] - y),
          modifiers=self._modifiers(),
      )
  
imports: from __future__ import division
  from packaging.version import Version
  from time import sleep
  from ..base import BaseApplicationBackend, BaseCanvasBackend, BaseTimerBackend
  from ...util import keys
  from ...util.ptime import time
  from ...None import config
label_desc: Use image node_id 27 for calling the CanvasBackend obj's underlying member method code with example usage: obj.on_mouse_scroll(x, y, scroll_x, scroll_y) without return types