SDL_SetTrayEntryChecked - Man Page

Sets whether or not an entry is checked.

Header File

Defined in SDL3/SDL_tray.h

Synopsis

#include "SDL3/SDL.h"

void SDL_SetTrayEntryChecked(SDL_TrayEntry *entry, bool checked);

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.

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_GetTrayEntryChecked(3)

Referenced By

SDL_GetTrayEntryChecked(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS