SDL_SetTrayTooltip - Man Page

Updates the system tray icon's tooltip.

Header File

Defined in SDL3/SDL_tray.h

Synopsis

#include "SDL3/SDL.h"

void SDL_SetTrayTooltip(SDL_Tray *tray, const char *tooltip);

Function Parameters

tray

the tray icon to be updated.

tooltip

the new tooltip in UTF-8 encoding. May be NULL.

Thread Safety

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

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_CreateTray(3)

Info

SDL 3.2.8 Simple Directmedia Layer SDL3 FUNCTIONS