SDL_TrayCallback.3type - Man Page
A callback that is invoked when a tray entry is selected.
Synopsis
#include <SDL3/SDL_tray.h> typedef void (SDLCALL *SDL_TrayCallback)(void *userdata, SDL_TrayEntry *entry);
Function Parameters
- userdata
an optional pointer to pass extra data to the callback when it will be invoked.
- entry
the tray entry that was selected.
Availability
This datatype is available since SDL 3.2.0.
See Also
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 DATATYPES