NextPrevUpTopContentsIndex

form-layout

Class
Summary

The class form-layout lays its children out in a form.

Package

capi

Superclasses

layout

Initargs

:vertical-gap

The gap between rows in the form.

:vertical-adjust

The adjustment made to the rows.

:title-gap

The gap between the two columns.

:title-adjust

The adjustment made to the left column.

Accessors

form-vertical-gap
form-vertical-adjust
form-title-gap
form-title-adjust

Description

The form layout lays its children out in two columns, where the children in the left column (which are usually titles) are right adjusted whilst the children in the right column are left adjusted.

Compatibility Note

This class has been superseded by grid-layout, and will probably be removed at some point in the future. The examples below demonstrate the use of grid layouts as an alternative to forms.

Examples
(setq children (list
                "Button:"
                (make-instance 'capi:push-button 
                               :text "Press Me")
                "Enter Text:"
                (make-instance 'capi:text-input-pane)
                "List:"
                (make-instance 'capi:list-panel 
                               :items '(1 2 3))))
(capi:contain (make-instance
               'capi:grid-layout
               :description children
               :x-adjust '(:right :left) 
               :y-adjust :center))
See also

grid-layout
layout


LispWorks CAPI Reference Manual - 17 Mar 2008

NextPrevUpTopContentsIndex