###### (This is the legacy documentation for SDL2, the previous stable version; [SDL3](https://wiki.libsdl.org/SDL3/) is the current stable version.) # SDL_Window The opaque type used to identify a window. ## Header File Defined in [SDL_video.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_video.h) ## Syntax ```c typedef struct SDL_Window SDL_Window; ``` ## See Also - [SDL_CreateWindow](SDL_CreateWindow) - [SDL_CreateWindowFrom](SDL_CreateWindowFrom) - [SDL_DestroyWindow](SDL_DestroyWindow) - [SDL_FlashWindow](SDL_FlashWindow) - [SDL_GetWindowData](SDL_GetWindowData) - [SDL_GetWindowFlags](SDL_GetWindowFlags) - [SDL_GetWindowGrab](SDL_GetWindowGrab) - [SDL_GetWindowKeyboardGrab](SDL_GetWindowKeyboardGrab) - [SDL_GetWindowMouseGrab](SDL_GetWindowMouseGrab) - [SDL_GetWindowPosition](SDL_GetWindowPosition) - [SDL_GetWindowSize](SDL_GetWindowSize) - [SDL_GetWindowTitle](SDL_GetWindowTitle) - [SDL_HideWindow](SDL_HideWindow) - [SDL_MaximizeWindow](SDL_MaximizeWindow) - [SDL_MinimizeWindow](SDL_MinimizeWindow) - [SDL_RaiseWindow](SDL_RaiseWindow) - [SDL_RestoreWindow](SDL_RestoreWindow) - [SDL_SetWindowData](SDL_SetWindowData) - [SDL_SetWindowFullscreen](SDL_SetWindowFullscreen) - [SDL_SetWindowGrab](SDL_SetWindowGrab) - [SDL_SetWindowKeyboardGrab](SDL_SetWindowKeyboardGrab) - [SDL_SetWindowMouseGrab](SDL_SetWindowMouseGrab) - [SDL_SetWindowIcon](SDL_SetWindowIcon) - [SDL_SetWindowPosition](SDL_SetWindowPosition) - [SDL_SetWindowSize](SDL_SetWindowSize) - [SDL_SetWindowBordered](SDL_SetWindowBordered) - [SDL_SetWindowResizable](SDL_SetWindowResizable) - [SDL_SetWindowTitle](SDL_SetWindowTitle) - [SDL_ShowWindow](SDL_ShowWindow) ---- [CategoryAPI](CategoryAPI), [CategoryAPIDatatype](CategoryAPIDatatype), [CategoryVideo](CategoryVideo), [CategoryAPIStruct](CategoryAPIStruct),