DOKK / manpages / debian 13 / libsdl3-doc / SDL_DestroyTray.3.en
SDL_DestroyTray(3) SDL3 FUNCTIONS SDL_DestroyTray(3)

SDL_DestroyTray - Destroys a tray object.

Defined in SDL3/SDL_tray.h

#include "SDL3/SDL.h"
void SDL_DestroyTray(SDL_Tray *tray);

This also destroys all associated menus and entries.

the tray icon to be destroyed.

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

This function is available since SDL 3.2.0.

(3), SDL_CreateTray(3)

SDL 3.2.10 Simple Directmedia Layer