Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

layout-spacing

Arguments: object-editor

Returns the layout-spacing object of an object-editor dialog. The value may be set at creation time with the layout-spacing initarg, or any time later by calling (setf layout-spacing). Typically a custom layout-spacing (if used) should be provided when the object-editor is created so that it is used for the initial widget layout.

Code for creating an object-editor with a layout-spacing could look something like this code fragment:

(make-window :my-object-editor
  :class 'object-editor
  :edited-class ...
  :edited-slots ...
  :layout-spacing (make-instance 'layout-spacing
                    :layout-widget-spacing 4
                    :layout-outer-margin 12
                    ...))

The value should be a layout-spacing object that was created by calling make-instance on the layout-spacing class. If a new object-editor is not explicitly given a layout-spacing object at creation time, then a layout-spacing object with default values is created automatically and given to the object-editor.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version