DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetTrayEntryLabel.3.en
SDL_GetTrayEntryLabel(3) SDL3 FUNCTIONS SDL_GetTrayEntryLabel(3)

SDL_GetTrayEntryLabel - Gets the label of an entry.

Defined in SDL3/SDL_tray.h

#include "SDL3/SDL.h"
const char * SDL_GetTrayEntryLabel(SDL_TrayEntry *entry);

If the returned value is NULL, the entry is a separator.

the entry to be read.

Returns the label of the entry in UTF-8 encoding.

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

This function is available since SDL 3.2.0.

(3), SDL_GetTrayEntries(3), (3), SDL_InsertTrayEntryAt(3), (3), SDL_SetTrayEntryLabel(3)

SDL 3.2.10 Simple Directmedia Layer