SDL2.waitEventTimeout

Wait for next SDL event, with a timeout. Input state gets updated and window callbacks are called too.

class SDL2
bool
waitEventTimeout
(
SDL_Event* event
,)

Return Value

Type: bool

true if returned an event.

Throws

SDL2Exception on error.

See Also

Meta