DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetTrayEntryParent.3.en
SDL_GetTrayEntryParent(3) SDL3 FUNCTIONS SDL_GetTrayEntryParent(3)

SDL_GetTrayEntryParent - Gets the menu containing a certain tray entry.

Defined in SDL3/SDL_tray.h

#include "SDL3/SDL.h"
SDL_TrayMenu * SDL_GetTrayEntryParent(SDL_TrayEntry *entry);

the entry for which to get the parent menu.

( SDL_TrayMenu
*) Returns the parent menu.

This function should be called on the thread that created the tray.

This function is available since SDL 3.2.0.

(3), SDL_InsertTrayEntryAt(3)

SDL 3.2.10 Simple Directmedia Layer