Function sdl2_sys::SDL_GetWindowFromID
source · pub unsafe extern "C" fn SDL_GetWindowFromID(
id: Uint32,
) -> *mut SDL_Window
Expand description
Get a window from a stored ID.
The numeric ID is what SDL_WindowEvent references, and is necessary to map these events to specific SDL_Window objects.
\param id the ID of the window
\returns the window associated with id
or NULL if it doesn’t exist; call
SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetWindowID