Brr.WindowSourceWindow objects.
Some of the objects and methods that are accessed from Window objects are in other modules:
scroll_x w is the number of (sub)pixels the window is horizontally scrolled by.
scroll_y w is the number of (sub)pixels the window is vertically scrolled by.
device_pixel_ratio w is the ratio between physical and CSS pixels. A value of 2. indicates that two physical pixels are used to draw a single CSS pixel.
matches_media w mq is true if the media query mq matches. See Window.matchMedia.
prefers_dark_scheme w is true if the "(prefers-color-scheme: dark)" media query matches.
open' w url ~name ~features loads the specified resource url into a new or existing browsing context with the specified name and window features. None is returned if the window could not be opened.
print w opens the print dialog to print the window document.
location w is the window's location.
Note we do not bind the Location object, everything you need can be done with Uri, set_location, reload and possibly History.