A window is a CLIM stream pane that supports all window and stream operations. Windows are primarily included for compatibility with CLIM 1.1, although it is sometimes useful to be able to perform operations directly on a window.
CLIM supports the following operators for clearing and refreshing the drawing plane:
window-clear window
Summary: Clears the entire drawing plane of window, filling it with the background ink.
window-erase-viewport Generic Function
window-erase-viewport window
Summary: Clears the visible part of window's drawing plane, filling it with background ink.
window-refresh Generic Function
window-refresh window
Summary: Clears the visible part of the drawing plane of window, and then replays all of the output records in the visible part of the drawing plane.
A window stream viewport is the region of the drawing plane that is visible through the window. You can change the viewport by scrolling or by reshaping the window. The viewport does not change if the window is covered by another window (that is, the viewport is the region of the drawing plane that would be visible if the window were on top).
A window stream has an end-of-line
action and an end-of-page
action, which control what happens when the cursor position moves out of the viewport (with-end-of-line-action and with-end-of-page-action, respectively).
window-viewport Generic Function
window-viewport window
Summary: Returns a region that is the window's current viewport, an object of type area. (10.2.3 Composite Pane Generic Functions for the generic function pane-viewport, which returns a viewport.)
window-viewport-position* Generic Function
window-viewport-position* window
Summary: Returns the x and y coordinates of the top-left corner of the window's viewport.
window-set-viewport-position* Generic Function
window-set-viewport-position* window x y
Summary: Moves the top-left corner of the window's viewport. Use this to scroll a window.
CLIM 2.0 User Guide - 01 Dec 2021 19:39:02