SDL_GetTrayEntryChecked - Man Page

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)

Referenced By

SDL_SetTrayEntryChecked(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS