chickadee » sdl2 » get-window-from-id

get-window-from-id idprocedure

See SDL_GetWindowFromID.

NOTE: The returned window will be a new sdl2:window record pointing to the address of the existing window. It will be equal? to other sdl2:window records for the same window, but not eq?.

In sdl2 egg version 0.2.0 and higher, this procedure signals an exception of kind (exn sdl2) if there is no window with the given ID. In earlier egg versions, this procedure returned a null sdl2:window.