Closes the window and releases associated resources.
(self)
| 305 | glfw.poll_events() |
| 306 | |
| 307 | def close(self): |
| 308 | """Closes the window and releases associated resources.""" |
| 309 | if self._context is not None: |
| 310 | self._context.free() |
| 311 | self._context = None |
| 312 | |
| 313 | def _handle_file_drop(self, window, paths): |
| 314 | """Handles events of user dropping files onto the window. |