|
1 | 1 | /* Auto generated file: with make_docs.py . Docs go in docs/reST/ref/ . */ |
2 | | -#define DOC_WINDOW "Window(title='pygame window', size=(640, 480), position=WINDOWPOS_UNDEFINED, **flags) -> Window\nPygame object that represents a window." |
| 2 | +#define DOC_WINDOW "Window(title='pygame window', size=(640, 480), position=WINDOWPOS_UNDEFINED, *, fullscreen=..., fullscreen_desktop=..., opengl=..., vulkan=..., hidden=..., borderless=..., resizable=..., minimized=..., maximized=..., mouse_grabbed=..., keyboard_grabbed=..., input_focus=..., mouse_focus=..., allow_high_dpi=..., mouse_capture=..., always_on_top=..., utility=...) -> Window\nPygame object that represents a window." |
3 | 3 | #define DOC_WINDOW_GRABMOUSE "grab_mouse -> bool\nGet or set the window's mouse grab mode." |
4 | 4 | #define DOC_WINDOW_GRABKEYBOARD "grab_keyboard -> bool\nGet or set the window's keyboard grab mode." |
5 | | -#define DOC_WINDOW_MOUSEGRABBED "mouse_grabbed() -> bool\nGet if the mouse cursor is confined to the window (**read-only**)." |
6 | | -#define DOC_WINDOW_KEYBOARDGRABBED "keyboard_grabbed() -> bool\nGet if the keyboard shortcuts are captured by the window (**read-only**)." |
7 | | -#define DOC_WINDOW_FOCUSED "focused() -> bool\nGet if the window is focused (**read-only**)." |
| 5 | +#define DOC_WINDOW_MOUSEGRABBED "mouse_grabbed -> bool\nGet if the mouse cursor is confined to the window (**read-only**)." |
| 6 | +#define DOC_WINDOW_KEYBOARDGRABBED "keyboard_grabbed -> bool\nGet if the keyboard shortcuts are captured by the window (**read-only**)." |
| 7 | +#define DOC_WINDOW_FOCUSED "focused -> bool\nGet if the window is focused (**read-only**)." |
8 | 8 | #define DOC_WINDOW_TITLE "title -> str\nGet or set the window title." |
9 | 9 | #define DOC_WINDOW_RESIZABLE "resizable -> bool\nGet or set whether the window is resizable." |
10 | 10 | #define DOC_WINDOW_BORDERLESS "borderless -> bool\nGets or sets whether the window is borderless." |
11 | 11 | #define DOC_WINDOW_ALWAYSONTOP "always_on_top -> bool\nGet or set whether the window is always on top." |
12 | | -#define DOC_WINDOW_ID "id() -> int\nGet the unique window ID (**read-only**)." |
13 | | -#define DOC_WINDOW_MOUSERECT "mouse_rect() -> Optional[Rect]\nGet or set the mouse confinement rectangle of the window." |
14 | | -#define DOC_WINDOW_SIZE "size() -> tuple[int, int]\nGet or set the window size in pixels." |
15 | | -#define DOC_WINDOW_MINIMUMSIZE "minimum_size() -> tuple[int, int]\nGet or set the minimum size of the window's client area." |
16 | | -#define DOC_WINDOW_MAXIMUMSIZE "maximum_size() -> tuple[int, int]\nGet or set the maximum size of the window's client area." |
17 | | -#define DOC_WINDOW_POSITION "position() -> tuple[int, int]\nGet or set the window position in screen coordinates." |
| 12 | +#define DOC_WINDOW_ID "id -> int\nGet the unique window ID (**read-only**)." |
| 13 | +#define DOC_WINDOW_MOUSERECT "mouse_rect -> Optional[Rect]\nGet or set the mouse confinement rectangle of the window." |
| 14 | +#define DOC_WINDOW_SIZE "size -> tuple[int, int]\nGet or set the window size in pixels." |
| 15 | +#define DOC_WINDOW_MINIMUMSIZE "minimum_size -> tuple[int, int]\nGet or set the minimum size of the window's client area." |
| 16 | +#define DOC_WINDOW_MAXIMUMSIZE "maximum_size -> tuple[int, int]\nGet or set the maximum size of the window's client area." |
| 17 | +#define DOC_WINDOW_POSITION "position -> tuple[int, int]\nGet or set the window position in screen coordinates." |
18 | 18 | #define DOC_WINDOW_OPACITY "opacity -> float\nGet or set the window opacity, between 0.0 (fully transparent) and 1.0 (fully opaque)." |
19 | | -#define DOC_WINDOW_OPENGL "opengl() -> bool\nGet if the window supports OpenGL." |
20 | | -#define DOC_WINDOW_UTILITY "utility() -> bool\nGet if the window is an utility window (**read-only**)." |
| 19 | +#define DOC_WINDOW_OPENGL "opengl -> bool\nGet if the window supports OpenGL." |
| 20 | +#define DOC_WINDOW_UTILITY "utility -> bool\nGet if the window is an utility window (**read-only**)." |
21 | 21 | #define DOC_WINDOW_FROMDISPLAYMODULE "from_display_module() -> Window\nCreate a Window object using window data from display module." |
22 | 22 | #define DOC_WINDOW_GETSURFACE "get_surface() -> Surface\nGet the window surface." |
23 | 23 | #define DOC_WINDOW_FLIP "flip() -> None\nUpdate the display surface to the window." |
|
0 commit comments