All Manuals > CLIM 2.0 User Guide > 13 Extended Stream Output Facilities

13.7 CLIM Window Stream Pane Functions

The following functions can be called on any pane that is a subclass of clim-stream-pane. (Such a pane is often simply referred to as a window.) These are provided as a convenience for programmers and for compatibility with CLIM 1.1.

window-clear Generic Function

window-clear window

Summary: Clears the entire drawing plane by filling it with the background design of the CLIM stream pane window. If window has an output history, it is cleared as well. The text cursor position of window, if there is one, is reset to the upper left corner.

window-refresh Generic Function

window-refresh window

Summary: Clears the visible part of the drawing plane of the CLIM stream pane window, and then if the window stream is an output recording stream, the output records in the visible part of the window are replayed.

window-viewport Generic Function

window-viewport window

Summary: Returns the viewport region of the CLIM stream pane window. The returned region will usually be a standard-bounding-rectangle.

window-erase-viewport Generic Function

window-erase-viewport window

Summary: Clears the visible part of the drawing plane of the CLIM stream pane window by filling it with the background design.

window-viewport-position Generic Function

window-viewport-position window

Summary: Returns two values, the x and y position of the upper left corner of the CLIM stream pane window's viewport.

(setf window-viewport-position) Generic Function

(setf window-viewport-position) x y window

Summary: Sets the position of the upper left corner of the CLIM stream pane window's viewport to x and y.


CLIM 2.0 User Guide - 01 Dec 2021 19:38:59