table of contents
other versions
- testing 3.2.10+ds-1
- unstable 3.2.10+ds-1
- experimental 3.2.16+ds-1
SDL_GetTrayEntryChecked(3) | SDL3 FUNCTIONS | SDL_GetTrayEntryChecked(3) |
NAME¶
SDL_GetTrayEntryChecked - Gets whether or not an entry is checked.
SYNOPSIS¶
#include <SDL3/SDL_tray.h>
bool SDL_GetTrayEntryChecked(SDL_TrayEntry *entry);
DESCRIPTION¶
The entry must have been created with the SDL_TRAYENTRY_CHECKBOX flag.
FUNCTION PARAMETERS¶
- entry
- the entry to be read.
RETURN VALUE¶
Returns true if the entry is 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¶
SDL_GetTrayEntries(3), SDL_InsertTrayEntryAt(3), SDL_SetTrayEntryChecked(3)
SDL 3.2.16 | Simple Directmedia Layer |