SDL_GetTrayMenuParentEntry

Gets the entry for which the menu is a submenu, if the current menu is a submenu.

Either this function or SDL_GetTrayMenuParentTray() will return non-null for any given menu.

extern (C) nothrow @nogc extern
SDL_GetTrayMenuParentEntry

Parameters

menu SDL_TrayMenu*

The menu for which to get the parent entry.

Return Value

The parent entry, or null if this menu is not a submenu.

Threadsafety: This function should be called on the thread that created the tray.

See Also

Meta