table of contents
other versions
- trixie 3.2.10+ds-1
 - testing 3.2.26+ds-1
 - unstable 3.2.26+ds-2
 - experimental 3.3.2+git20251103~dc5b136+ds-1
 
| SDL_DestroyTray(3) | SDL3 FUNCTIONS | SDL_DestroyTray(3) | 
NAME¶
SDL_DestroyTray - Destroys a tray object.
SYNOPSIS¶
#include <SDL3/SDL_tray.h>
void SDL_DestroyTray(SDL_Tray *tray);
DESCRIPTION¶
This also destroys all associated menus and entries.
FUNCTION PARAMETERS¶
- tray
 - the tray icon to be destroyed.
 
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¶
| SDL 3.3.3 | Simple Directmedia Layer |