SDL_GetTrayEntryParent - Man Page

Gets the menu containing a certain tray entry.

Synopsis

#include <SDL3/SDL_tray.h>

SDL_TrayMenu * SDL_GetTrayEntryParent(SDL_TrayEntry *entry);

Function 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

SDL_InsertTrayEntryAt(3)

Referenced By

SDL_InsertTrayEntryAt(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS