Skip to content

Commit 634775e

Browse files
committed
Docs: Missing glfw window docs
1 parent b015b72 commit 634775e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

demosys/context/glfw/window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Window(BaseWindow):
1010
"""
1111
Window implementation using pyGLFW
1212
"""
13-
min_glfw_version = (3, 2, 1)
13+
min_glfw_version = (3, 2, 1) #: The minimum glfw version required
1414
keys = Keys
1515

1616
def __init__(self):

docs/reference/demosys.context.glfw.rst

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Methods
2424
.. automethod:: Window.key_event_callback
2525
.. automethod:: Window.mouse_event_callback
2626
.. automethod:: Window.window_resize_callback
27+
.. automethod:: Window.poll_events
28+
.. automethod:: Window.check_glfw_version
2729

2830
Other Inherited Methods
2931
-----------------------
@@ -42,3 +44,4 @@ Attributes
4244
.. autoattribute:: Window.size
4345
.. autoattribute:: Window.buffer_size
4446
.. autoattribute:: Window.keys
47+
.. autoattribute:: Window.min_glfw_version

0 commit comments

Comments
 (0)