logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SetTrayEntryChecked - Sets whether or not an entry is checked.

Availability

       This function is available since SDL 3.2.0.

Description

       The entry must have been created with the

       SDL_TRAYENTRY_CHECKBOX
        flag.

Function Parameters

entry  the entry to be updated.

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

Header File

       Defined in SDL3/SDL_tray.h

Name

       SDL_SetTrayEntryChecked - Sets whether or not an entry is checked.

See Also

(3), SDL_GetTrayEntries(3), (3), SDL_InsertTrayEntryAt(3), (3), SDL_GetTrayEntryChecked(3)

Simple Directmedia Layer                           SDL 3.2.10                         SDL_SetTrayEntryChecked(3)

Synopsis

#include"SDL3/SDL.h"voidSDL_SetTrayEntryChecked(SDL_TrayEntry*entry,boolchecked);

Thread Safety

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

See Also