Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version