Scroll to navigation

SDL_DestroyTray(3) SDL3 FUNCTIONS SDL_DestroyTray(3)

NAME

SDL_DestroyTray - 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

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)

SDL 3.2.5 Simple Directmedia Layer