Table of Contents

Enum WindowFlags

Namespace
Sdl3Sharp.Video.Windowing
Assembly
Sdl3Sharp.dll

Represents flags associated with a Window

[Flags]
public enum WindowFlags : ulong

Fields

AlwaysOnTop = 65536

The Window should always be above others

Borderless = 16

The Window has no window decoration

External = 2048

The Window was not created by SDL

FillDocument = 2097152

The Window is in fill-document mode (Emscripten only)

Fullscreen = 1

The Window is in fullscreen mode

Hidden = 8

The 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 = 8192

The Window uses a high pixel density back buffer if possible

InputFocus = 512

The Window has input focus

KeyboardGrabbed = 1048576

The Window has grabbed keyboard input

Maximized = 128

The Window is maximized

Metal = 536870912

The Window is usable for a Metal view

Minimized = 64

The Window is minimized

Modal = 4096

The Window is modal

MouseCapture = 16384

The Window has the mouse captured (this unrelated to MouseGrabbed)

MouseFocus = 1024

The Window has mouse focus

MouseGrabbed = 256

The Window has grabbed mouse input

MouseRelativeMode = 32768

The Window has mouse relative mode enabled

None = 0

No flags set

NotFocusable = 2147483648

The Window should not be focusable

Occluded = 4

The Window is occluded

OpenGL = 2

The Window is usable with an OpenGL context

PopupMenu = 524288

The Window should be treated as a popup menu, requiring a parent window

Resizable = 32

The Window can be resized

Tooltip = 262144

The Window should be treated as a tooltip and does not get mouse or keyboard focus, requiring a parent window

Transparent = 1073741824

The Window has a transparent buffer

Utility = 131072

The Window should be treated as a utility window, not showing in the task bar and window list

Vulkan = 268435456

The Window is usable for a Vulkan surface