SDL_GetWindowFromEvent

Get window associated with an event.

\param event an event containing a windowID. \returns the associated window on success or NULL if there is none.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.2.0.

\sa SDL_PollEvent \sa SDL_WaitEvent \sa SDL_WaitEventTimeout

extern (C) nothrow @nogc extern
SDL_GetWindowFromEvent
()

Meta