A callback that is invoked when a tray entry is selected.
Defined in <SDL3/SDL_tray.h>
typedef void (SDLCALL *SDL_TrayCallback)(void *userdata, SDL_TrayEntry *entry);
userdata | an optional pointer to pass extra data to the callback when it will be invoked. |
entry | the tray entry that was selected. |