Function sdl2::event::push_event[src]

pub fn push_event(event: Event) -> Result<(), ~str>

add an event to the event queue