SDL_GetTrayEntryChecked - Gets whether or not an entry is checked.
Contents
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 read.
Header File
Defined in SDL3/SDL_tray.h
Name
SDL_GetTrayEntryChecked - Gets whether or not an entry is checked.
Return Value
Returns true if the entry is checked; false otherwise.
See Also
•(3), SDL_GetTrayEntries(3), •(3), SDL_InsertTrayEntryAt(3), •(3), SDL_SetTrayEntryChecked(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetTrayEntryChecked(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_GetTrayEntryChecked(SDL_TrayEntry*entry);
Thread Safety
This function should be called on the thread that created the tray.
