Function SDL_SetTrayEntryChecked

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

Sets 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 updated.
  • checked: true if the entry should be 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