(self)
Closes the window and releases associated resources.
Closes the window and releases associated resources.
Closes the window and releases associated resources .
def close(self):
    """Closes the window and releases associated resources."""
    if self._context is not None:
      self._context.free()
    self._context = None
def close ( self ) : if self . _context is not None : self . _context . free ( ) self . _context = None