logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_TrayCallback - A callback that is invoked when a tray entry is selected.

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);

See Also