SDL_GetTrayEntries - Returns a list of entries in the menu, in order.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
menu The menu to get entries from.
count An optional pointer to obtain the number of entries in the menu.
Name
SDL_GetTrayEntries - Returns a list of entries in the menu, in order.
Return Value
Returns a NULL-terminated list of entries within the given menu. The pointer becomes invalid when any
function that inserts or deletes entries in the menu is called.
See Also
SDL_RemoveTrayEntry(3), SDL_InsertTrayEntryAt(3) Simple Directmedia Layer SDL 3.2.20 SDL_GetTrayEntries(3)
Synopsis
#include<SDL3/SDL_tray.h>constSDL_TrayEntry**SDL_GetTrayEntries(SDL_TrayMenu*menu,int*count);
Thread Safety
This function should be called on the thread that created the tray.
