Gets the tray for which this menu is the first-level menu, if the current menu isn't a submenu.
Either this function or SDL_GetTrayMenuParentEntry() will return non-null for any given menu.
the menu for which to get the parent enttrayry.
The parent tray, or null if this menu is a submenu.
Threadsafety: This function should be called on the thread that created the tray.
SDL_CreateTrayMenu SDL_GetTrayMenuParentEntry
See Implementation
Gets the tray for which this menu is the first-level menu, if the current menu isn't a submenu.
Either this function or SDL_GetTrayMenuParentEntry() will return non-null for any given menu.