DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetTrayEntryChecked.3.en
SDL_GetTrayEntryChecked(3) SDL3 FUNCTIONS SDL_GetTrayEntryChecked(3)

SDL_GetTrayEntryChecked - Gets whether or not an entry is checked.

Defined in SDL3/SDL_tray.h

#include "SDL3/SDL.h"
bool SDL_GetTrayEntryChecked(SDL_TrayEntry *entry);

The entry must have been created with the

SDL_TRAYENTRY_CHECKBOX
flag.

the entry to be read.

Returns true if the entry is checked; false otherwise.

This function should be called on the thread that created the tray.

This function is available since SDL 3.2.0.

(3), SDL_GetTrayEntries(3), (3), SDL_InsertTrayEntryAt(3), (3), SDL_SetTrayEntryChecked(3)

SDL 3.2.10 Simple Directmedia Layer