SDL Wiki

SDL_GetTrayEntryParent

Gets the menu containing a certain tray entry.

Header File

Defined in <SDL3/SDL_tray.h>

Syntax

SDL_TrayMenu * SDL_GetTrayEntryParent(SDL_TrayEntry *entry);

Function Parameters

SDL_TrayEntry * 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.

Version

This function is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryTray


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.