SDL_GetTrayEntryLabel(3)

SDL_GetTrayEntryLabel3

Gets the label of an entry.

Usage

#include "SDL3/SDL.h"

const char * SDL_GetTrayEntryLabel(SDL_TrayEntry *entry);

Header file

Defined in SDL3/SDL_tray.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.