SDL_DestroyTray - Destroys a tray object.
Contents
Availability
This function is available since SDL 3.2.0.
Description
This also destroys all associated menus and entries.
Function Parameters
tray the tray icon to be destroyed.
Name
SDL_DestroyTray - Destroys a tray object.
See Also
SDL_CreateTray(3) Simple Directmedia Layer SDL 3.2.20 SDL_DestroyTray(3)
Synopsis
#include<SDL3/SDL_tray.h>voidSDL_DestroyTray(SDL_Tray*tray);
Thread Safety
This function should be called on the thread that created the tray.
