SDL_GetTrayEntryLabel - Man Page

Gets the label of an entry.

Header File

Defined in SDL3/SDL_tray.h

Synopsis

#include "SDL3/SDL.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

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

Referenced By

SDL_SetTrayEntryLabel(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS