Function sdl2::event::wait_event[src]

pub fn wait_event() -> Result<Event, ~str>

Wait indefinitely for the next available event.