Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_DestroyTray - Destroys a tray object.

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.

See Also