Scroll to navigation

SDL_GetTrayEntryParent(3) SDL3 FUNCTIONS SDL_GetTrayEntryParent(3)

NAME

SDL_GetTrayEntryParent - Gets the menu containing a certain tray entry.

SYNOPSIS

#include <SDL3/SDL_tray.h>
SDL_TrayMenu * SDL_GetTrayEntryParent(SDL_TrayEntry *entry);

FUNCTION PARAMETERS

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)

SDL 3.2.14 Simple Directmedia Layer