
1 CAPI Reference Entries
row-layout class lays its children out in a row.
grid-layout
ratios
adjust
gap
uniform-size-p Ift, each child in the row has the same width.
layout-ratios
grid-layout. The description is a list of the layout's children, and the layout also translates the initargsratios,adjust,gap anduniform-size-p into the grid layouts equivalent keywordsx-ratios,y-adjust,x-gap andx-uniform-size-p.
(capi:contain (make-instance
'capi:row-layout
:description
(list
(make-instance 'capi:push-button
:text "Press me")
(make-instance 'capi:title-pane
:text "Title")
(make-instance 'capi:list-panel
:items '(1 2 3)))))
(setq row (capi:contain
(make-instance
'capi:row-layout
:description
(list
(make-instance 'capi:push-button
:text "Press me")
(make-instance 'capi:title-pane
:text "Title")
(make-instance 'capi:list-panel
:items '(1 2 3)))
:adjust :center)))
(setf (capi:layout-y-adjust row) :bottom)
(setf (capi:layout-y-adjust row) :top)
column-layout

Generated with Harlequin WebMaker