Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GetTrayEntryParent - Gets the menu containing a certain tray entry.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

entry  the entry for which to get the parent menu.

Name

       SDL_GetTrayEntryParent - Gets the menu containing a certain tray entry.

Return Value

       Returns the parent menu.

See Also

SDL_InsertTrayEntryAt(3)

Simple Directmedia Layer                           SDL 3.2.20                          SDL_GetTrayEntryParent(3)

Synopsis

#include<SDL3/SDL_tray.h>SDL_TrayMenu*SDL_GetTrayEntryParent(SDL_TrayEntry*entry);

Thread Safety

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

See Also