#[repr(u32)]
pub enum SDL_WindowFlags {
Show 21 variants SDL_WINDOW_FULLSCREEN, SDL_WINDOW_OPENGL, SDL_WINDOW_SHOWN, SDL_WINDOW_HIDDEN, SDL_WINDOW_BORDERLESS, SDL_WINDOW_RESIZABLE, SDL_WINDOW_MINIMIZED, SDL_WINDOW_MAXIMIZED, SDL_WINDOW_INPUT_GRABBED, SDL_WINDOW_INPUT_FOCUS, SDL_WINDOW_MOUSE_FOCUS, SDL_WINDOW_FULLSCREEN_DESKTOP, SDL_WINDOW_FOREIGN, SDL_WINDOW_ALLOW_HIGHDPI, SDL_WINDOW_MOUSE_CAPTURE, SDL_WINDOW_ALWAYS_ON_TOP, SDL_WINDOW_SKIP_TASKBAR, SDL_WINDOW_UTILITY, SDL_WINDOW_TOOLTIP, SDL_WINDOW_POPUP_MENU, SDL_WINDOW_VULKAN,
}
Expand description

\brief The flags on a window

\sa SDL_GetWindowFlags()

Variants

SDL_WINDOW_FULLSCREEN

< fullscreen window

SDL_WINDOW_OPENGL

< window usable with OpenGL context

SDL_WINDOW_SHOWN

< window is visible

SDL_WINDOW_HIDDEN

< window is not visible

SDL_WINDOW_BORDERLESS

< no window decoration

SDL_WINDOW_RESIZABLE

< window can be resized

SDL_WINDOW_MINIMIZED

< window is minimized

SDL_WINDOW_MAXIMIZED

< window is maximized

SDL_WINDOW_INPUT_GRABBED

< window has grabbed input focus

SDL_WINDOW_INPUT_FOCUS

< window has input focus

SDL_WINDOW_MOUSE_FOCUS

< window has mouse focus

SDL_WINDOW_FULLSCREEN_DESKTOP

SDL_WINDOW_FOREIGN

< window not created by SDL

SDL_WINDOW_ALLOW_HIGHDPI

< window should be created in high-DPI mode if supported. On macOS NSHighResolutionCapable must be set true in the application’s Info.plist for this to have any effect.

SDL_WINDOW_MOUSE_CAPTURE

< window has mouse captured (unrelated to INPUT_GRABBED)

SDL_WINDOW_ALWAYS_ON_TOP

< window should always be above others

SDL_WINDOW_SKIP_TASKBAR

< window should not be added to the taskbar

SDL_WINDOW_UTILITY

< window should be treated as a utility window

SDL_WINDOW_TOOLTIP

< window should be treated as a tooltip

SDL_WINDOW_POPUP_MENU

< window should be treated as a popup menu

SDL_WINDOW_VULKAN

< window usable for Vulkan surface

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.