a window is for providing a view