SDL_SetTrayIcon - Man Page
Updates the system tray icon's icon.
Header File
Defined in SDL3/SDL_tray.h
Synopsis
#include "SDL3/SDL.h" void SDL_SetTrayIcon(SDL_Tray *tray, SDL_Surface *icon);
Function Parameters
- tray
the tray icon to be updated.
- icon
the new icon. 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.2 Simple Directmedia Layer SDL3 FUNCTIONS