Skip to main content

SDL_SetEventEnabled

Function SDL_SetEventEnabled 

Source
pub unsafe extern "C" fn SDL_SetEventEnabled(
    type_: Uint32,
    enabled: bool,
)
Expand description

Set the state of processing events by type.

Parameter: type the type of event; see SDL_EventType for details. Parameter: enabled whether to process the event or not.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_EventEnabled