| SDL_SetTrayEntryLabel(3) | SDL3 FUNCTIONS | SDL_SetTrayEntryLabel(3) |
SDL_SetTrayEntryLabel - Sets the label of an entry.
Defined in SDL3/SDL_tray.h
#include "SDL3/SDL.h"
void SDL_SetTrayEntryLabel(SDL_TrayEntry *entry, const char *label);
An entry cannot change between a separator and an ordinary entry; that is, it is not possible to set a non-NULL label on an entry that has a NULL label (separators), or to set a NULL label to an entry that has a non-NULL label. The function will silently fail if that happens.
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_GetTrayEntryLabel(3)
| SDL 3.2.10 | Simple Directmedia Layer |