# SDL_SetTrayTooltip Updates the system tray icon's tooltip. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_tray.h) ## Syntax ```c void SDL_SetTrayTooltip(SDL_Tray *tray, const char *tooltip); ``` ## Function Parameters | | | | | ---------------------- | ----------- | ----------------------------------------------- | | [SDL_Tray](SDL_Tray) * | **tray** | the tray icon to be updated. | | const char * | **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. ## Version This function is available since SDL 3.2.0. ## See Also - [SDL_CreateTray](SDL_CreateTray) ---- [CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryTray](CategoryTray)