SDL_WM_GetCaption(3)
π SDL_WM_GetCaption π
okay bestie, welcome to the SDL API Reference β¨ this is the SDL_WM_GetCaption(3) page and it is short, like, suspiciously short, but every crumb is important so let's get into it π«Ά
β¨ NAME β¨
SDL_WM_GetCaption β gets the window title and icon name π
no cap, that's literally what it does.
πΈ SYNOPSIS πΈ
#include "SDL.h"
void SDL_WM_GetCaption(char **title, char **icon);
look at that signature. two pointer-to-pointer args. it's giving double pointer energy π
π¦ DESCRIPTION π¦
Set pointers to the window title and icon name.
that's the whole vibe fr fr. you hand it title and icon, and it points them at the window title and the icon name respectively. pointers to pointers, because it's setting your pointers for you, not just handing you a string. main character behaviour honestly π
π SEE ALSO π
SDL_WM_SetCaptionβ the setter twin, the yin to this yang πSDL_WM_SetIconβ also a setter, also iconic (literally) β
heads up bestie: this page is the getter. if you were looking for the one that changes stuff, that's over in the SEE ALSO, iykyk π
and that's the whole page!! this lil cutie came from the SDL docs, dated Tue 11 Sep 2001, 23:01 β yes, a 2001 baddie, and it still ate π
β¨ mwah, go read SDL_WM_SetCaption next, ily, bye ππ¦π
π¦ where this page comes from
- debian bookworm: libsdl1.2-dev 1.2.15+dfsg2-8 Β· LGPL-2.1-or-later
- nixos 26.05: SDL_sixel 0-unstable-2016-02-06
- nixpkgs unstable: SDL_sixel 0-unstable-2016-02-06
- ubuntu jammy: libsdl1.2-dev 1.2.15+dfsg2-6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms