Page 312 Table of Contents Index Page 314
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 29. PANES

This function is automatically invoked by change-space-requirements in the cases that layout-
frame
isn't invoked. In the case that layout-frame is invoked, it isn't necessary to call note-
space-requirements-changed
since a complete re-layout of the frame will be executed.

=> changing-space-requirements (&key resize-frame) &body body [Macro]
This macro supports batching the invocation of the layout protocol by calls to change-space-
requirements
. Within the body, all calls to change-space-requirements change the internal
structures of the pane and are recorded. When the body is exited, the layout protocol is invoked
appropriately. body may have zero or more declarations as its first forms.

=> compose-space pane [Generic Function]
During the space composition pass, a composite pane will typically ask each of its children how
much space it requires by calling compose-space. They answer by returning space-requirement
objects. The composite will then form its own space requirement by composing the space re-
quirements of its children according to its own rules for laying out its children.

=> allocate-space pane width height [Generic Function]
During the space allocation pass, a composite pane will arrange its children within the available
space and allocate space to them according to their space requirements and its own composition
rules by calling allocate-space on each of the child panes. width and height are the width and
height of pane in device units.

=> make-space-requirement &key (width 0) (max-width 0) (min-width 0) (height 0) (max-height
0) (min-height 0) [Function]
Constructs a space requirement object with the given characteristics, :width, :height, and so
on.

=> space-requirement-width space-req [Function]
=> (setf space-requirement-width) size space-req [Function]
=> space-requirement-max-width space-req [Function]
=> (setf space-requirement-max-width) size space-req [Function]
=> space-requirement-min-width space-req [Function]
=> (setf space-requirement-min-width) size space-req [Function]
=> space-requirement-height space-req [Function]
=> (setf space-requirement-height) size space-req [Function]
=> space-requirement-max-height space-req [Function]
=> (setf space-requirement-max-height) size space-req [Function]
=> space-requirement-min-height space-req [Function]
=> (setf space-requirement-min-height) size space-req [Function]
These functions read or modify the components of the space requirement space-req.


Page 312 Table of Contents Index Page 314
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E