Window.Style

The specific window styles

Values

ValueMeaning
FullscreenSDL_WINDOW_FULLSCREEN

Window is fullscreened

DesktopSDL_WINDOW_FULLSCREEN_DESKTOP

Window has Desktop Fullscreen

OpenGLSDL_WINDOW_OPENGL

OpenGL support

ShownSDL_WINDOW_SHOWN

Show the Window immediately

BorderlessSDL_WINDOW_BORDERLESS

Hide the Window immediately

ResizeableSDL_WINDOW_RESIZABLE

Window is resizeable

MaximizedSDL_WINDOW_MAXIMIZED

Maximize the Window immediately

MinimizedSDL_WINDOW_MINIMIZED

Minimize the Window immediately

InputGrabbedSDL_WINDOW_INPUT_GRABBED

Grab the input inside the window

InputFocusSDL_WINDOW_INPUT_FOCUS

The Window has input (keyboard) focus

MouseFocusSDL_WINDOW_MOUSE_FOCUS

The Window has mouse focus

HighDPISDL_WINDOW_ALLOW_HIGHDPI

Window should be created in high-DPI mode if supported (>= SDL 2.0.1)

ForeignSDL_WINDOW_FOREIGN

The window was created by some other framework.

DefaultShown | OpenGL | HighDPI

Default mode is Shown | OpenGL | HighDPI

Meta