Next Prev Up Top Contents Index

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]

Arguments: 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]

Arguments: 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]

Arguments: 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]

Arguments: 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]

Arguments: 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]

Arguments: x y window

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

 


CommonLisp Interface Manager 2.0 User's Guide - 8 Aug 2003

Next Prev Up Top Contents Index