Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
This page is new in 8.2.

min-space-before

Arguments: split-bar

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

This is the minimum space to maintain either above a horizontal split-bar or to the left 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-before initarg to make-instance, or any time later by call (setf min-space-before).

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


Copyright (c) 1998-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.2. This page is new in the 8.2 release.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
This page is new in 8.2.