Function sdl2::event::filter_events[src]

pub fn filter_events(filter_func:  extern "C" fn(event: Event) -> bool)

Run a specific filter function on the current event queue, removing any events for which the filter returns 0.