SDL Wiki

SDL_GetTrayEntryLabel

Gets the label of an entry.

Header File

Defined in <SDL3/SDL_tray.h>

Syntax

const char * SDL_GetTrayEntryLabel(SDL_TrayEntry *entry);

Function Parameters

SDL_TrayEntry * entry the entry to be read.

Return Value

(const char *) Returns the label of the entry in UTF-8 encoding.

Remarks

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

Thread Safety

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

Version

This function is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryTray


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.