Function SDL_GetTrayEntryParent

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

Gets the menu containing a certain tray entry.

§Parameters

  • entry: the entry for which to get the parent menu.

§Return value

Returns the parent menu.

§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