SDL_GetTrayEntries - Man Page
Returns a list of entries in the menu, in order.
Synopsis
#include <SDL3/SDL_tray.h> const SDL_TrayEntry ** SDL_GetTrayEntries(SDL_TrayMenu *menu, int *count);
Function Parameters
- menu
The menu to get entries from.
- count
An optional pointer to obtain the number of entries in the menu.
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.
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
Referenced By
SDL_GetTrayEntryChecked(3), SDL_GetTrayEntryEnabled(3), SDL_GetTrayEntryLabel(3), SDL_InsertTrayEntryAt(3), SDL_RemoveTrayEntry(3), SDL_SetTrayEntryCallback(3), SDL_SetTrayEntryChecked(3), SDL_SetTrayEntryEnabled(3), SDL_SetTrayEntryLabel(3).
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS