Function SDL_GetTrayEntryChecked

pub unsafe extern "C" fn SDL_GetTrayEntryChecked(
    entry: *mut SDL_TrayEntry,
) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Gets whether or not an entry is checked.

The entry must have been created with the SDL_TRAYENTRY_CHECKBOX flag.

§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