Example #1
0
 def close(self):
     glfw.glfwSetWindowShouldClose(self._native_window, True)
     glfw.glfwDestroyWindow(self._native_window)
     __windows__.remove(self)
     for i in range(len(self._timer_stack)):
         handler, interval = self._timer_stack[i]
         self._clock.unschedule(handler)
     self.dispatch_event('on_close')
Example #2
0
 def destroy(self):
     glfw.glfwDestroyWindow(self._native_window)
Example #3
0
 def destroy(self):
     glfw.glfwDestroyWindow(self._native_window)