1 CAPI Reference Entries
x-y-adjustable-layout
provides functionality for positioning panes in a space larger than themselves (for example, it is used to choose whether to center them, or left justify them).
layout
simple-layout
grid-layout
x-adjust
y-adjust
layout-x-adjust
layout-y-adjust
x-adjust
andy-adjust
are used by layouts to decide what to do when a pane is smaller than the space in which it is being laid out. The values themselves are interpreted by the functionpane-adjusted-offset
, which by default can be any of the following:
:top
:bottom
:left
:right
:center
column-layout
is a subclass ofx-y-adjustable-layout
.
(setq column (capi:contain (make-instance 'capi:column-layout :description (list (make-instance 'capi:push-button :text "Ok") (make-instance 'capi:list-panel :items '(1 2 3 4 5) )))))(setf (capi:layout-x-adjust column) :right)
(setf (capi:layout-x-adjust column) :center)
pane-adjusted-offset
Generated with Harlequin WebMaker