SDL_GetWindowFlags - Man Page

Get the window flags.

Synopsis

#include <SDL3/SDL_video.h>

SDL_WindowFlags SDL_GetWindowFlags(SDL_Window *window);

Function Parameters

window

the window to query.

Return Value

Returns a mask of the SDL_WindowFlags associated with window.

Thread Safety

This function should only be called on the main thread.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_CreateWindow(3), SDL_HideWindow(3), SDL_MaximizeWindow(3), SDL_MinimizeWindow(3), SDL_SetWindowFullscreen(3), SDL_SetWindowMouseGrab(3), SDL_ShowWindow(3)

Referenced By

SDL_SetWindowAlwaysOnTop(3), SDL_SetWindowBordered(3), SDL_SetWindowResizable(3), SDL_WindowFlags.3type(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS