SDL_DestroyTray - Man Page

Destroys a tray object.

Header File

Defined in SDL3/SDL_tray.h

Synopsis

#include "SDL3/SDL.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

·(3), SDL_CreateTray(3)

Referenced By

SDL_CreateTray(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS