class_docstr: Representation of the vispy application
  
  This wraps a native GUI application instance. Vispy has a default
  instance of this class that can be created/obtained via
  `vispy.app.use_app()`.
  
  Parameters
  ----------
  backend_name : str | None
      The name of the backend application to use. If not specified,
      Vispy tries to select a backend automatically. See ``vispy.use()``
      for details.
  
  Notes
  -----
  Upon creating an Application object, a backend is selected, but the
  native backend application object is only created when `create()`
  is called or `native` is used. The Canvas and Timer do this
  automatically.
class_docstr_tok: ["Representation","of","the","vispy","application","This","wraps","a","native","GUI","application","instance",".","Vispy","has","a","default","instance","of","this","class","that","can","be","created\/obtained","via","`","vispy.app.use_app","(",")","`",".","Parameters","--","--","--","--","--","backend_name",":","str","|","None","The","name","of","the","backend","application","to","use",".","If","not","specified",",","Vispy","tries","to","select","a","backend","automatically",".","See","``","vispy.use","(",")","``","for","details",".","Notes","--","--","-","Upon","creating","an","Application","object",",","a","backend","is","selected",",","but","the","native","backend","application","object","is","only","created","when","`","create","(",")","`","is","called","or","`","native","`","is","used",".","The","Canvas","and","Timer","do","this","automatically","."]
docstr: Process all pending GUI events. If the mainloop is not
  running, this should be done regularly to keep the visualization
  interactive and to keep the event system going.
docstr_tok: ["Process","all","pending","GUI","events",".","If","the","mainloop","is","not","running",",","this","should","be","done","regularly","to","keep","the","visualization","interactive","and","to","keep","the","event","system","going","."]
code: def process_events(self):
      """Process all pending GUI events. If the mainloop is not
      running, this should be done regularly to keep the visualization
      interactive and to keep the event system going.
      """
      return self._backend._vispy_process_events()
  
imports: from __future__ import division
  import builtins
  import os
  import sys
  from .None import backends
  from .backends import CORE_BACKENDS, BACKEND_NAMES, BACKENDMAP, TRIED_BACKENDS
  from ..None import config
  from .base import BaseApplicationBackend
  from ._detect_eventloop import _get_running_interactive_framework
  from ..util import logger
label_desc: Use image node_id 5 for calling the Application obj's underlying member method code with example usage: obj.process_events() and returns: self