SDL_GetTrayEntryParent - Man Page

Gets the menu containing a certain tray entry.

Header File

Defined in SDL3/SDL_tray.h

Synopsis

#include "SDL3/SDL.h"

SDL_TrayMenu* SDL_GetTrayEntryParent(SDL_TrayEntry *entry);

Function Parameters

entry

the entry for which to get the parent menu.

Return Value

( SDL_TrayMenu
*) 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

·(3), SDL_InsertTrayEntryAt(3)

Referenced By

SDL_InsertTrayEntryAt(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS