Skip to main content

SDL_SetTrayEntryChecked

Function SDL_SetTrayEntryChecked 

Source
pub unsafe extern "C" fn SDL_SetTrayEntryChecked(
    entry: *mut SDL_TrayEntry,
    checked: bool,
)
Expand description

Sets whether or not an entry is checked.

The entry must have been created with the SDL_TRAYENTRY_CHECKBOX flag.

Parameter: entry the entry to be updated. Parameter: checked true if the entry should be checked; false otherwise.

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

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_GetTrayEntries See Also: SDL_InsertTrayEntryAt See Also: SDL_GetTrayEntryChecked