SDL_GetTrayEntryLabel - Man Page

Gets the label of an entry.

Synopsis

#include <SDL3/SDL_tray.h>

const char * SDL_GetTrayEntryLabel(SDL_TrayEntry *entry);

Description

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

Function Parameters

entry

the entry to be read.

Return Value

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

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

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

Referenced By

SDL_SetTrayEntryLabel(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS