Sets whether or not an entry is checked.
Defined in <SDL3/SDL_tray.h>
void SDL_SetTrayEntryChecked(SDL_TrayEntry *entry, bool checked);
SDL_TrayEntry * | entry | the entry to be updated. |
bool | checked | true if the entry should be checked; false otherwise. |
The entry must have been created with the SDL_TRAYENTRY_CHECKBOX flag.
This function should be called on the thread that created the tray.
This function is available since SDL 3.2.0.