Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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