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 
         (sys:lispworks-file 
          "examples/capi/graphics/lwsplash.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


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex