Function fermium::events::SDL_EventState
source · pub unsafe extern "C" fn SDL_EventState(
type_: SDL_EventType,
state: c_int
) -> u8
Expand description
This function allows you to set the state of processing certain events.
- If
state
is set toSDL_IGNORE
, that event will be automatically dropped from the event queue and will not be filtered. - If
state
is set toSDL_ENABLE
, that event will be processed normally. - If
state
is set toSDL_QUERY
,SDL_EventState
will return the current processing state of the specified event.