SDL_SetTrayEntryChecked3
Sets whether or not an entry is checked.
Usage
#include "SDL3/SDL.h"
void SDL_SetTrayEntryChecked(SDL_TrayEntry *entry, bool checked);
Header file
Defined in SDL3/SDL_tray.h
Overview
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.