Skip to content

Commit

Permalink
Add code block around Window
Browse files Browse the repository at this point in the history
Review comments
  • Loading branch information
gavinmorrow authored Oct 30, 2024
1 parent 4734eca commit 7b26b0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reST/ref/window.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
The Window class (formerly known as _sdl2.video.Window), is a newly
published feature of pygame-ce 2.5.2. This class allows for programs
to drive multiple Windows on-screen at once, something not possible with
to drive multiple windows on-screen at once, something not possible with
the :func:`pygame.display.set_mode` API. Not everything possible with
:mod:`pygame.display` is possible yet in the Window API, but the new
window class will continue to be developed, and we're excited to share
Expand Down Expand Up @@ -59,9 +59,9 @@
pygame.quit()
raise SystemExit
Event behavior if multiple Windows are created: When the close button is
Event behavior if multiple ``Window``s are created: When the close button is
pressed, a ``WINDOWCLOSE`` event is sent. You need to explicitly destroy
the window. Note that the event ``QUIT`` will only be sent if all Windows
the window. Note that the event ``QUIT`` will only be sent if all ``Window``s
have been destroyed.
.. code-block:: python
Expand Down

0 comments on commit 7b26b0a

Please sign in to comment.