DOKK / manpages / debian 13 / libsdl3-doc / SDL_SetTrayTooltip.3.en
SDL_SetTrayTooltip(3) SDL3 FUNCTIONS SDL_SetTrayTooltip(3)

SDL_SetTrayTooltip - Updates the system tray icon's tooltip.

Defined in SDL3/SDL_tray.h

#include "SDL3/SDL.h"
void SDL_SetTrayTooltip(SDL_Tray *tray, const char *tooltip);

the tray icon to be updated.
the new tooltip in UTF-8 encoding. May be NULL.

This function should be called on the thread that created the tray.

This function is available since SDL 3.2.0.

(3), SDL_CreateTray(3)

SDL 3.2.10 Simple Directmedia Layer