All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

simple-pinboard-layout

Class
Summary

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.

Package

capi

Superclasses

pinboard-layout
simple-layout

Subclasses

graph-pane

Initargs

:child

The child of the pinboard layout.

Description

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.

Example
(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))
See also

pinboard-object


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex