Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

min-space-after

Arguments: split-bar

Returns the min-space-after property of a split-bar widget. The value may be set at creation time by passing the :min-space-after initarg to make-instance, or any time later by call (setf min-space-after).

This is the minimum space to maintain either below a horizontal split-bar or to the right of of a vertical split-bar. The value is measured in pixels, and refers to the distance between the split-bar and either another split-bar or the interior edge of the parent window.

The user will not be able to interactively drag the split-bar to where the distance would be less than this minimum. This is to ensure that enough space is left to display the contents of widgets that are moved or resized by the split-bar (see widgets-to-move and widgets-to-resize).

The value should be a non-negative integer. The default value is zero, which allows the user to drag the split-bar so that it butts against the nearest other split-bar or the edge of the window, but not to overlap it. The value may be set at creation time by passing the :min-space-after initarg to make-instance, or any time later by call (setf min-space-after).

If this property, along with min-space-before, is not adequate for constraining the dragging of a split-bar, then an on-drag function could be supplied.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version