Open abstract instantiable class
The class of viewports.
horizontal-scroll-bar: An instance of type false-or(<scroll-bar>). Default value: #f.
vertical-scroll-bar: An instance of type false-or(<scroll-bar>). Default value: #f.
duim-gadgets
duim-gadgets
The class of viewports. A viewport is a sheet "through" which other sheets are visible; they are used to implement a clipping region for scrolling.
The horizontal-scroll-bar: and vertical-scroll-bar: init-keywords specify whether the viewport has horizontal and vertical scroll bars, respectively.
In most applications, you should not need to use a viewport yourself. However, there are some circumstances in which defining your own viewports is invaluable. In particular, if you need to use a single scroll bar to scroll more than one window at the same time, you should define each window as a viewport, and use the same scroll bar to scroll each window. There are two situations where this behavior is quite common:
sheet-viewport, page 643
sheet-viewport-region, page 644
viewport?, page 695
viewport-region, page 695