SDL_TrayCallback3type
A callback that is invoked when a tray entry is selected.
Usage
#include "SDL3/SDL.h"
typedef void (SDLCALL *SDL_TrayCallback)(void *userdata, SDL_TrayEntry *entry);
Header file
Defined in SDL3/SDL_tray.h
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. |