SDL_SetTrayEntryEnabled(3)

SDL_SetTrayEntryEnabled3

Sets whether or not an entry is enabled.

Usage

#include "SDL3/SDL.h"

void SDL_SetTrayEntryEnabled(SDL_TrayEntry *entry, bool enabled);

Header file

Defined in SDL3/SDL_tray.h

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.

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