Function sdl2::event::wait_event_timeout[src]

pub fn wait_event_timeout(timeout: int) -> Result<Event, ~str>

Wait until the specified timeout (in milliseconds) for the next available event.