Man page - sdl_seteventenabled(3)

Packages contains this manual

Manual

SDL_SetEventEnabled

NAME
HEADER FILE
SYNOPSIS
FUNCTION PARAMETERS
THREAD SAFETY
AVAILABILITY
SEE ALSO

NAME

SDL_SetEventEnabled - Set the state of processing events by type.

HEADER FILE

Defined in SDL3/SDL_events.h

SYNOPSIS

#include "SDL3/SDL.h"

void SDL_SetEventEnabled(Uint32 type, bool enabled);

FUNCTION PARAMETERS

type

the type of event; see SDL_EventType

for details.

enabled

whether to process the event or not.

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_EventEnabled (3)