DOKK / manpages / debian 13 / libsdl3-doc / SDL_EventEnabled.3.en
SDL_EventEnabled(3) SDL3 FUNCTIONS SDL_EventEnabled(3)

SDL_EventEnabled - Query the state of processing events by type.

Defined in SDL3/SDL_events.h

#include "SDL3/SDL.h"
bool SDL_EventEnabled(Uint32 type);

the type of event; see SDL_EventType
for details.

Returns true if the event is being processed, false otherwise.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_SetEventEnabled(3)

SDL 3.2.10 Simple Directmedia Layer