Man page - sdl_geteventfilter(3)
Packages contas this manual
Manual
| SDL_GetEventFilter(3) | SDL3 FUNCTIONS | SDL_GetEventFilter(3) |
NAME
SDL_GetEventFilter - Query the current event filter.
HEADER FILE
Defined in SDL3/SDL_events.h
SYNOPSIS
#include "SDL3/SDL.h"
bool SDL_GetEventFilter(SDL_EventFilter *filter, void **userdata);
DESCRIPTION
This function can be used to "chain" filters, by saving the existing filter before replacing it with a function that will call that saved filter.
FUNCTION PARAMETERS
RETURN VALUE
Returns true on success or false if there is no event filter set.
THREAD SAFETY
It is safe to call this function from any thread.
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
•(3), SDL_SetEventFilter(3)
| SDL 3.2.10 | Simple Directmedia Layer |