SDL_SetTrayEntryCallback

Sets a callback to be invoked when the entry is selected.

extern (C) nothrow @nogc extern
void
SDL_SetTrayEntryCallback

Parameters

entry SDL_TrayEntry*

The entry to be updated.

callback SDL_TrayCallback

A callback to be invoked when the entry is selected.

userdata void*

An optional pointer to pass extra data to the callback when it will be invoked.

Threadsafety: This function should be called on the thread that created the tray.

See Also

Meta