class_docstr: Tkinter backend for Canvas abstract class.
  Uses pyopengltk.OpenGLFrame as the internal tk.Frame instance that
  is able to receive OpenGL draw commands and display the results,
  while also being placeable in another Toplevel window.
class_docstr_tok: ["Tkinter","backend","for","Canvas","abstract","class",".","Uses","pyopengltk.OpenGLFrame","as","the","internal","tk.Frame","instance","that","is","able","to","receive","OpenGL","draw","commands","and","display","the","results",",","while","also","being","placeable","in","another","Toplevel","window","."]
docstr: Force the window to close, destroying the canvas in the process.
  
  When this was the last VisPy window, also quit the Tk instance.
  This will not interfere if there is already another user window,
  unrelated top VisPy open.
code: def _vispy_close(self):
      """Force the window to close, destroying the canvas in the process.
  
      When this was the last VisPy window, also quit the Tk instance.
      This will not interfere if there is already another user window,
      unrelated top VisPy open.
      """
      if self.top and not self.is_destroyed:
          self.is_destroyed = True
          self._vispy_canvas.close()
          _TkInstanceManager.del_toplevel(self)
  
imports: from __future__ import division
  from time import sleep
  import warnings
  from ..base import BaseApplicationBackend, BaseCanvasBackend, BaseTimerBackend
  from ...util import keys
  from ...util.ptime import time
  from ...gloo import gl
label_desc: Use image node_id 28 for calling the CanvasBackend obj's underlying member method code with example usage: obj._vispy_close() without return types