logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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