Scroll to navigation

SDL_GetTrayEntryParent(3) SDL3 FUNCTIONS SDL_GetTrayEntryParent(3)

NAME

SDL_GetTrayEntryParent - 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

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)

SDL 3.2.0 Simple Directmedia Layer