Sets the window title. Args: title: A string, title of the window.
(self, title)
| 226 | return self._mouse |
| 227 | |
| 228 | def set_title(self, title): |
| 229 | """Sets the window title. |
| 230 | |
| 231 | Args: |
| 232 | title: A string, title of the window. |
| 233 | """ |
| 234 | with self._context.make_current() as ctx: |
| 235 | ctx.call(glfw.set_window_title, self._context.window, title) |
| 236 | |
| 237 | def set_full_screen(self, enable): |
| 238 | """Expands the main application window to full screen or minimizes it. |