SDL_GetTrayEntryEnabled

Gets whether or not an entry is enabled.

Header File

Defined in <SDL3/SDL_tray.h>

Syntax

bool SDL_GetTrayEntryEnabled(SDL_TrayEntry *entry);

Function Parameters

SDL_TrayEntry * entry the entry to be read.

Return Value

(bool) Returns true if the entry is enabled; false otherwise.

Thread Safety

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

Version

This function is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryTray