Function SDL_GetTrayEntryLabel

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

Gets the label of an entry.

If the returned value is NULL, the entry is a separator.

§Parameters

  • entry: the entry to be read.

§Return value

Returns the label of the entry in UTF-8 encoding.

§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