SDL_ShowWindow(3)
β¨ NAME β¨
okay so bestie, welcome to SDL_ShowWindow(3) from the SDL3 FUNCTIONS manual. This function is literally SDL_ShowWindow β and it does exactly what it says on the tin: show a window. No cap. It's giving "make the window appear" and honestly? Iconic. π
πͺβ¨
π¦ SYNOPSIS π¦
#include <SDL3/SDL_video.h>
bool SDL_ShowWindow(SDL_Window *window);
π FUNCTION PARAMETERS π
windowβ the window to show. Hand over the window you want on screen, bestie. πͺβ¨
π RETURN VALUE π
Returns true on success or false on failure; call SDL_GetError() for more information. So if it comes back false, that's your cue to go get the error tea from SDL_GetError(). π
π THREAD SAFETY π
This function should only be called on the main thread. Like, main thread only, fr fr β don't be sneaking it in from a side thread. π§΅π ββοΈ
π¦ AVAILABILITY π¦
This function is available since SDL 3.2.0. Periodt. ποΈβ¨
π SEE ALSO π
Source: Simple Directmedia Layer Β· Version: SDL 3.4.18 Β· Date: the footer didn't have one, so I'm not inventing it, bestie. This was SDL_ShowWindow(3), signing off. πβ¨π«Ά
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms