Enum WindowFlags
Represents flags associated with a Window
[Flags]
public enum WindowFlags : ulong
Fields
AlwaysOnTop = 65536The Window should always be above others
Borderless = 16The Window has no window decoration
External = 2048The Window was not created by SDL
FillDocument = 2097152The Window is in fill-document mode (Emscripten only)
Fullscreen = 1The Window is in fullscreen mode
Hidden = 8The Window is neither mapped onto the desktop nor shown in the taskbar, dock, or window list; TryShow() is required for it to become visible
HighPixelDensity = 8192The Window uses a high pixel density back buffer if possible
InputFocus = 512The Window has input focus
KeyboardGrabbed = 1048576The Window has grabbed keyboard input
Maximized = 128The Window is maximized
Metal = 536870912The Window is usable for a Metal view
Minimized = 64The Window is minimized
Modal = 4096The Window is modal
MouseCapture = 16384The Window has the mouse captured (this unrelated to MouseGrabbed)
MouseFocus = 1024The Window has mouse focus
MouseGrabbed = 256The Window has grabbed mouse input
MouseRelativeMode = 32768The Window has mouse relative mode enabled
None = 0No flags set
NotFocusable = 2147483648The Window should not be focusable
Occluded = 4The Window is occluded
OpenGL = 2The Window is usable with an OpenGL context
PopupMenu = 524288The Window should be treated as a popup menu, requiring a parent window
Resizable = 32The Window can be resized
Tooltip = 262144The Window should be treated as a tooltip and does not get mouse or keyboard focus, requiring a parent window
Transparent = 1073741824The Window has a transparent buffer
Utility = 131072The Window should be treated as a utility window, not showing in the task bar and window list
Vulkan = 268435456The Window is usable for a Vulkan surface