SDL_SetTrayEntryChecked
Sets whether or not an entry is checked.
- Provided by: libsdl3-doc (Version: 3.4.2+ds-1ubuntu1)
- Source: libsdl3
- Report a bug
Sets whether or not an entry is checked.
#include <SDL3/SDL_tray.h>
void SDL_SetTrayEntryChecked(SDL_TrayEntry *entry, bool checked);
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.
SDL_GetTrayEntries(3), SDL_InsertTrayEntryAt(3), SDL_GetTrayEntryChecked(3)