Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_SetTrayEntryEnabled - Sets whether or not an entry is enabled.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

entry  the entry to be updated.

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

Header File

       Defined in SDL3/SDL_tray.h

Name

       SDL_SetTrayEntryEnabled - Sets whether or not an entry is enabled.

See Also

(3), SDL_GetTrayEntries(3), (3), SDL_InsertTrayEntryAt(3), (3), SDL_GetTrayEntryEnabled(3)

Simple Directmedia Layer                           SDL 3.2.10                         SDL_SetTrayEntryEnabled(3)

Synopsis

#include"SDL3/SDL.h"voidSDL_SetTrayEntryEnabled(SDL_TrayEntry*entry,boolenabled);

Thread Safety

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

See Also