1 CAPI Reference Entries
pane-adjusted-offset
generic function calculates the offset required to place a pane correctly in a layout.
pane-adjusted-offset pane adjust available-size actual-size &key &allow-other-keys
x-y-adjustable-layout
to interpret the values ofx-adjust
andy-adjust
. Typically the value of adjust will be one of:
:top
:bottom
:left
:right
:center
grid-layout
allows adjust to be a list of adjust values, and then passes the offset into this list as an additional keyword.
(setq button-panel (make-instance 'capi:button-panel :items '(1 2 3)))(capi:pane-adjusted-offset button-panel :center 200 100) (capi:pane-adjusted-offset button-panel :left 200 100)
(capi:pane-adjusted-offset button-panel :right 200 100)
100
layout
x-y-adjustable-layout
Generated with Harlequin WebMaker