SDL_TrayCallback - A callback that is invoked when a tray entry is selected.
Contents
Availability
This datatype is available since SDL 3.2.0.
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.
Header File
Defined in SDL3/SDL_tray.h
Name
SDL_TrayCallback - A callback that is invoked when a tray entry is selected.
See Also
•(3), SDL_SetTrayEntryCallback(3) Simple Directmedia Layer SDL 3.2.10 SDL_TrayCallback(3type)
Synopsis
#include"SDL3/SDL.h"typedefvoid(SDLCALL*SDL_TrayCallback)(void*userdata,SDL_TrayEntry*entry);
