Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

SDL_GetWindowFromEvent - Get window associated with an event.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

event  an event containing a windowID.

Name

       SDL_GetWindowFromEvent - Get window associated with an event.

Return Value

       Returns the associated window on success or NULL if there is none.

See Also

SDL_PollEvent(3), SDL_WaitEvent(3), SDL_WaitEventTimeout(3)

Simple Directmedia Layer                           SDL 3.2.20                          SDL_GetWindowFromEvent(3)

Synopsis

#include<SDL3/SDL_events.h>SDL_Window*SDL_GetWindowFromEvent(constSDL_Event*event);

Thread Safety

       It is safe to call this function from any thread.

See Also