Function SDL_SetEventEnabled

pub unsafe extern "C" fn SDL_SetEventEnabled(type: u32, enabled: bool)
Available on crate feature dep_sdl3 only.
Expand description

Set the state of processing events by type.

§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