getFlags method

int getFlags()

Get the window flags.

\param window the window to query. \returns a mask of the SDL_WindowFlags associated with window.

\threadsafety This function should only be called on the main thread.

\since This function is available since SDL 3.1.3.

\sa SDL_CreateWindow \sa SDL_HideWindow \sa SDL_MaximizeWindow \sa SDL_MinimizeWindow \sa SDL_SetWindowFullscreen \sa SDL_SetWindowMouseGrab \sa SDL_ShowWindow

extern SDL_DECLSPEC SDL_WindowFlags SDLCALL SDL_GetWindowFlags(SDL_Window *window)

Implementation

int getFlags() {
  return sdlGetWindowFlags(this);
}