title given to the shown window
top-left position of the window in the desktop environment (pair of two uints or flags from dsdl2.WindowPos)
size of the window in pixels
true to use SDL_CreateShapedWindow; false to use SDL_CreateWindow instead
adds SDL_WINDOW_FULLSCREEN flag
adds SDL_WINDOW_FULLSCREEN_DESKTOP flag
adds SDL_WINDOW_OPENGL flag
adds SDL_WINDOW_SHOWN flag
adds SDL_WINDOW_HIDDEN flag
adds SDL_WINDOW_BORDERLESS flag
adds SDL_WINDOW_RESIZABLE flag
adds SDL_WINDOW_MINIMIZED flag
adds SDL_WINDOW_MAXIMIZED flag
adds SDL_WINDOW_INPUT_GRABBED flag
adds SDL_WINDOW_INPUT_FOCUS flag
adds SDL_WINDOW_MOUSE_FOCUS flag
adds SDL_WINDOW_FOREIGN flag
adds SDL_WINDOW_ALLOW_HIGHDPI flag (from SDL 2.0.1)
adds SDL_WINDOW_MOUSE_CAPTURE flag (from SDL 2.0.2)
adds SDL_WINDOW_ALWAYS_ON_TOP flag (from SDL 2.0.5)
adds SDL_WINDOW_SKIP_TASKBAR flag (from SDL 2.0.5)
adds SDL_WINDOW_UTILITY flag (from SDL 2.0.5)
adds SDL_WINDOW_TOOLTIP flag (from SDL 2.0.5)
adds SDL_WINDOW_POPUP_MENU flag (from SDL 2.0.5)
adds SDL_WINDOW_VULKAN flag (from SDL 2.0.6)
adds SDL_WINDOW_METAL flag (from SDL 2.0.6)
adds SDL_WINDOW_MOUSE_GRABBED flag (from SDL 2.0.16)
adds SDL_WINDOW_KEYBOARD_GRABBED flag (from SDL 2.0.16)
dsdl2.SDLException if window creation failed
Creates a window on the desktop placed at a coordinate in the screen, which wraps SDL_CreateWindow