class_docstr: Pyglet backend for Canvas abstract class.
class_docstr_tok: ["Pyglet","backend","for","Canvas","abstract","class","."]
code: def on_text(self, text):
      # Typically this is called after on_key_press and before
      # on_key_release
      self._vispy_canvas.events.key_press(
          key=None,  # Handlers that trigger on key wont see this event
          text=text,
          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 29 for calling the CanvasBackend obj's underlying member method code with example usage: obj.on_text(text) without return types