Skip to content

Commit b98c241

Browse files
committed
Push window out of 2.4.0
1 parent 020f6d0 commit b98c241

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/reST/ref/window.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
| :sl:`pygame object that represents a window`
1111
| :sg:`Window(title='pygame window', size=(640, 480), position=None, fullscreen=False, fullscreen_desktop=False, **kwargs) -> Window`
1212
13-
The Window class (formerly known as _sdl2.video.Window), is a newly
14-
published feature of pygame-ce 2.4.0. This class allows for programs
15-
to drive multiple Windows on-screen at once, something not possible with
16-
the :func:`pygame.display.set_mode` API. Not everything possible with
13+
The Window class (formerly known as _sdl2.video.Window), is an experimental
14+
feature of pygame-ce. This class allows for programs to drive multiple
15+
Windows on-screen at once, something not possible with the
16+
:func:`pygame.display.set_mode` API. Not everything possible with
1717
:mod:`pygame.display` is possible yet in the Window API, but the new
1818
window class will continue to be developed, and we're excited to share
1919
the new functionality this class offers.
@@ -278,9 +278,8 @@
278278
.. code-block:: python
279279
280280
import pygame
281-
from pygame._sdl2 import video
282281
283-
win = video.Window()
282+
win = pygame.Window()
284283
surf = win.get_surface() # get the window surface
285284
286285
while True:

docs/reST/themes/classic/elements.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h5>pygame-ce documentation</h5>
4040
#}
4141
{%- set basic = ['Color', 'display', 'draw', 'event', 'font', 'image', 'key', 'locals', 'mixer', 'mouse', 'music', 'pygame', 'Rect', 'Surface', 'time'] %}
4242
{%- set advanced = ['BufferProxy', 'freetype', 'gfxdraw', 'midi', 'PixelArray', 'pixelcopy', 'sndarray', 'surfarray', 'cursors', 'joystick', 'mask', 'math', 'sprite', 'transform'] %}
43-
{%- set hidden = ['sdl2_video', 'sdl2_controller', 'geometry'] %}
43+
{%- set hidden = ['sdl2_video', 'sdl2_controller', 'geometry', 'Window'] %}
4444
{%- if pyg_sections %}
4545
<p class="bottom"><b>Most useful stuff</b>:
4646
{% set sep = joiner(" | \n") %}

0 commit comments

Comments
 (0)