SDL_SetTrayEntryLabel

Sets the label of an entry.

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.

extern (C) nothrow @nogc extern
void
SDL_SetTrayEntryLabel
(,
const(char)* label
)

Parameters

entry SDL_TrayEntry*

The entry to be updated.

label const(char)*

The new label for the entry in UTF-8 encoding.

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

See Also

Meta