A simple-pinboard-layout
is a pinboard-layout that can contain just one pinboard object or pane as its child, and it adopts the size constraints of that child.
The class simple-pinboard-layout
is normally used to place pinboard objects in a layout by placing the layout inside a simple-pinboard-layout
, thus displaying the pinboard objects. It inherits all of its layout behavior from simple-layout.
(setq column
(make-instance
'capi:column-layout
:description
(list
(make-instance
'capi:image-pinboard-object
:image
(example-file "capi/graphics/Setup.bmp"))
(make-instance
'capi:item-pinboard-object
:text "LispWorks"))
:x-adjust :center))
(capi:contain (make-instance
'capi:simple-pinboard-layout
:child column))
CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015