From c6f9b3f57e0dcc54792c91f1a6a49058870d0795 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Fri, 5 Apr 2024 20:42:02 +0200 Subject: [PATCH] Add missing window members to docs --- docs/reference/context/basewindow.rst | 4 ++++ docs/reference/context/glfw.window.rst | 4 ++++ docs/reference/context/headless.window.rst | 4 ++++ docs/reference/context/pyglet.window.rst | 4 ++++ docs/reference/context/pyqt5.window.rst | 4 ++++ docs/reference/context/pyside2.window.rst | 4 ++++ docs/reference/context/sdl2.window.rst | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/docs/reference/context/basewindow.rst b/docs/reference/context/basewindow.rst index 343ca95..54e02d4 100644 --- a/docs/reference/context/basewindow.rst +++ b/docs/reference/context/basewindow.rst @@ -12,6 +12,8 @@ Methods .. automethod:: BaseWindow.init_mgl_context .. automethod:: BaseWindow.is_key_pressed .. automethod:: BaseWindow.set_icon +.. automethod:: BaseWindow.show +.. automethod:: BaseWindow.hide .. automethod:: BaseWindow.close .. automethod:: BaseWindow.use .. automethod:: BaseWindow.clear @@ -34,6 +36,8 @@ Attributes .. autoattribute:: BaseWindow.headless .. autoattribute:: BaseWindow.fbo .. autoattribute:: BaseWindow.title +.. autoattribute:: BaseWindow.visible +.. autoattribute:: BaseWindow.hidden .. autoattribute:: BaseWindow.exit_key .. autoattribute:: BaseWindow.fullscreen_key .. autoattribute:: BaseWindow.gl_version diff --git a/docs/reference/context/glfw.window.rst b/docs/reference/context/glfw.window.rst index f6a3608..bde5214 100644 --- a/docs/reference/context/glfw.window.rst +++ b/docs/reference/context/glfw.window.rst @@ -11,6 +11,8 @@ Methods .. automethod:: Window.__init__ .. automethod:: Window.init_mgl_context .. automethod:: Window.is_key_pressed +.. automethod:: Window.show +.. automethod:: Window.hide .. automethod:: Window.set_icon .. automethod:: Window.close .. automethod:: Window.use @@ -30,6 +32,8 @@ Attributes .. autoattribute:: Window.keys :annotation: .. autoattribute:: Window.ctx +.. autoattribute:: Window.visible +.. autoattribute:: Window.hidden .. autoattribute:: Window.backend .. autoattribute:: Window.headless .. autoattribute:: Window.fbo diff --git a/docs/reference/context/headless.window.rst b/docs/reference/context/headless.window.rst index 3b2bb1b..8d78c57 100644 --- a/docs/reference/context/headless.window.rst +++ b/docs/reference/context/headless.window.rst @@ -11,6 +11,8 @@ Methods .. automethod:: Window.__init__ .. automethod:: Window.init_mgl_context .. automethod:: Window.is_key_pressed +.. automethod:: Window.show +.. automethod:: Window.hide .. automethod:: Window.set_icon .. automethod:: Window.close .. automethod:: Window.use @@ -30,6 +32,8 @@ Attributes .. autoattribute:: Window.keys :annotation: .. autoattribute:: Window.ctx +.. autoattribute:: Window.visible +.. autoattribute:: Window.hidden .. autoattribute:: Window.backend .. autoattribute:: Window.headless .. autoattribute:: Window.fbo diff --git a/docs/reference/context/pyglet.window.rst b/docs/reference/context/pyglet.window.rst index 23e09fe..46828d7 100644 --- a/docs/reference/context/pyglet.window.rst +++ b/docs/reference/context/pyglet.window.rst @@ -11,6 +11,8 @@ Methods .. automethod:: Window.__init__ .. automethod:: Window.init_mgl_context .. automethod:: Window.is_key_pressed +.. automethod:: Window.show +.. automethod:: Window.hide .. automethod:: Window.set_icon .. automethod:: Window.close .. automethod:: Window.use @@ -47,6 +49,8 @@ Attributes .. autoattribute:: Window.keys :annotation: .. autoattribute:: Window.ctx +.. autoattribute:: Window.visible +.. autoattribute:: Window.hidden .. autoattribute:: Window.backend .. autoattribute:: Window.headless .. autoattribute:: Window.fbo diff --git a/docs/reference/context/pyqt5.window.rst b/docs/reference/context/pyqt5.window.rst index 1462632..217ce69 100644 --- a/docs/reference/context/pyqt5.window.rst +++ b/docs/reference/context/pyqt5.window.rst @@ -11,6 +11,8 @@ Methods .. automethod:: Window.__init__ .. automethod:: Window.init_mgl_context .. automethod:: Window.is_key_pressed +.. automethod:: Window.show +.. automethod:: Window.hide .. automethod:: Window.set_icon .. automethod:: Window.close .. automethod:: Window.use @@ -43,6 +45,8 @@ Attributes .. autoattribute:: Window.keys :annotation: .. autoattribute:: Window.ctx +.. autoattribute:: Window.visible +.. autoattribute:: Window.hidden .. autoattribute:: Window.backend .. autoattribute:: Window.headless .. autoattribute:: Window.fbo diff --git a/docs/reference/context/pyside2.window.rst b/docs/reference/context/pyside2.window.rst index ff1d773..d9d8c96 100644 --- a/docs/reference/context/pyside2.window.rst +++ b/docs/reference/context/pyside2.window.rst @@ -11,6 +11,8 @@ Methods .. automethod:: Window.__init__ .. automethod:: Window.init_mgl_context .. automethod:: Window.is_key_pressed +.. automethod:: Window.show +.. automethod:: Window.hide .. automethod:: Window.set_icon .. automethod:: Window.close .. automethod:: Window.use @@ -43,6 +45,8 @@ Attributes .. autoattribute:: Window.keys :annotation: .. autoattribute:: Window.ctx +.. autoattribute:: Window.visible +.. autoattribute:: Window.hidden .. autoattribute:: Window.backend .. autoattribute:: Window.headless .. autoattribute:: Window.fbo diff --git a/docs/reference/context/sdl2.window.rst b/docs/reference/context/sdl2.window.rst index d8435ab..1199c9d 100644 --- a/docs/reference/context/sdl2.window.rst +++ b/docs/reference/context/sdl2.window.rst @@ -11,6 +11,8 @@ Methods .. automethod:: Window.__init__ .. automethod:: Window.init_mgl_context .. automethod:: Window.is_key_pressed +.. automethod:: Window.show +.. automethod:: Window.hide .. automethod:: Window.set_icon .. automethod:: Window.close .. automethod:: Window.use @@ -35,6 +37,8 @@ Attributes .. autoattribute:: Window.keys :annotation: .. autoattribute:: Window.ctx +.. autoattribute:: Window.visible +.. autoattribute:: Window.hidden .. autoattribute:: Window.backend .. autoattribute:: Window.headless .. autoattribute:: Window.fbo