SDL_GetTrayEntryLabel - Gets the label of an entry.
Contents
Availability
This function is available since SDL 3.2.0.
Description
If the returned value is NULL, the entry is a separator.
Function Parameters
entry the entry to be read.
Header File
Defined in SDL3/SDL_tray.h
Name
SDL_GetTrayEntryLabel - Gets the label of an entry.
Return Value
Returns the label of the entry in UTF-8 encoding.
See Also
•(3), SDL_GetTrayEntries(3), •(3), SDL_InsertTrayEntryAt(3), •(3), SDL_SetTrayEntryLabel(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetTrayEntryLabel(3)
Synopsis
#include"SDL3/SDL.h"constchar*SDL_GetTrayEntryLabel(SDL_TrayEntry*entry);
Thread Safety
This function should be called on the thread that created the tray.
