[−][src]Function sdl2_sys::SDL_EventState
pub unsafe extern "C" fn SDL_EventState(type_: Uint32, state: c_int) -> Uint8
This function allows you to set the state of processing certain events.
- If \c state is set to ::SDL_IGNORE, that event will be automatically dropped from the event queue and will not be filtered.
- If \c state is set to ::SDL_ENABLE, that event will be processed normally.
- If \c state is set to ::SDL_QUERY, SDL_EventState() will return the current processing state of the specified event.