SDL_SetTrayEntryEnabled - Man Page

Sets whether or not an entry is enabled.

Synopsis

#include <SDL3/SDL_tray.h>

void SDL_SetTrayEntryEnabled(SDL_TrayEntry *entry, bool enabled);

Function Parameters

entry

the entry to be updated.

enabled

true if the entry should be enabled; false otherwise.

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

SDL_GetTrayEntries(3), SDL_InsertTrayEntryAt(3), SDL_GetTrayEntryEnabled(3)

Referenced By

SDL_GetTrayEntryEnabled(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS