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 struct-eq? to other sdl2:window records for the same window, but not eq?.

In sdl2 egg 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.