Page 307 Table of Contents Index Page 309
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


29.3.1 Layout Pane Options

=> :contents [Option]
All of the layout pane classes accept the :contents options, which is used to specify the child
panes to be laid out.

=> :width [Option]
=> :max-width [Option]
=> :min-width [Option]
=> :height [Option]
=> :max-height [Option]
=> :min-height [Option]
These options control the space requirement paramaters for laying out the pane. The :width
and :height options specify the preferred horizontal and vertical sizes. The :max-width and
:max-height options specify the maximum amount of space that may be consumed by the
pane, and give CLIM's pane layout engine permission to grow the pane beyond the preferred
size. The :min-width and :min-height options specify the minimum amount of space that may
be consumed by the pane, and give CLIM's pane layout engine permission to shrink the pane
below the preferred size.

If either of the :max-width or :min-width options is not supplied, it defaults to the value of the
:width option. If either of the :max-height or :min-height options is not supplied, it defaults
to the value of the :height option.

:max-width, :min-width, :max-height, and :min-height can also be specified as a relative
size by supplying a list of the form (number :relative). In this case, the number indicates the
number of device units that the pane is willing to stretch or shrink.

The values of these options are specified in the same way as the :x-spacing and :y-spacing
options to formatting-table. (Note that :character and :line may only be used on those
panes that display text, such as a clim-stream-pane or a label-pane.)

=> +fill+ [Constant]
This constant can be used as a value to any of the relative size options. It indicates that pane's
willingness to adjust an arbitrary amount in the specified direction.

=> :align-x [Option]
=> :align-y [Option]
The :align-x option is one of :right, :center, or :left. The :align-y option is one of :top,
:center, or :bottom. These are used to specify how child panes are aligned within the parent
pane. These have the same semantics as for formatting-cell.

=> :x-spacing [Option]
=> :y-spacing [Option]
=> :spacing [Option]


Page 307 Table of Contents Index Page 309
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