Returns a tuple with the shape of the window, (width, height).
(self)
| 205 | |
| 206 | @property |
| 207 | def shape(self): |
| 208 | """Returns a tuple with the shape of the window, (width, height).""" |
| 209 | with self._context.make_current() as ctx: |
| 210 | return ctx.call(glfw.get_framebuffer_size, self._context.window) |
| 211 | |
| 212 | @property |
| 213 | def position(self): |
no test coverage detected