SDL Wiki
(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)

SDL_TrayCallback

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

Header File

Defined in <SDL3/SDL_tray.h>

Syntax

typedef void (SDLCALL *SDL_TrayCallback)(void *userdata, SDL_TrayEntry *entry);

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.

See Also


CategoryAPI, CategoryAPIDatatype, CategoryTray


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.