
2 Bitmaps, Viewports, and Windows
The root viewport cannot be moved or reshaped from within the Window Tool Kit, though some host window systems allow this action.
Create a window, and move it to a new location:
(setq *window2* (make-window :width 60
:height 40
:title "Move Me"))
(move-viewport *window2* 100 100)
If you move a viewport or window with children, the children move with the parent by default; they remain in the same position relative to the parent. Now, reshape*window2*:
(reshape-viewport *window2* :width 120 :height 80)

Generated with Harlequin WebMaker