Function SDL_SetTrayEntryEnabled

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

Sets whether or not an entry is enabled.

§Parameters

  • entry: the entry to be updated.
  • enabled: true if the entry should be enabled; 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