Scroll to navigation

SDL_SetTrayEntryEnabled(3) SDL3 FUNCTIONS SDL_SetTrayEntryEnabled(3)

NAME

SDL_SetTrayEntryEnabled - Sets whether or not an entry is enabled.

HEADER FILE

Defined in SDL3/SDL_tray.h

SYNOPSIS

#include "SDL3/SDL.h"
void SDL_SetTrayEntryEnabled(SDL_TrayEntry *entry, bool enabled);

FUNCTION PARAMETERS

the entry to be updated.
true if the entry should be enabled; false otherwise.

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_GetTrayEntries(3), (3), SDL_InsertTrayEntryAt(3), (3), SDL_GetTrayEntryEnabled(3)

SDL 3.2.0 Simple Directmedia Layer