Function SDL_GetTrayEntryEnabled

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

Gets whether or not an entry is enabled.

§Parameters

  • entry: the entry to be read.

§Return value

Returns true if the entry is 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