SDL Wiki
(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)

SDL_GetTrayEntryParent

Gets the menu contianing 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.

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.