Open abstract class
The superclass class of all layout classes.
space-requirement: An instance of type <space-requirement>. Required.
width:<integer>. Required.
height:<integer>. Required.
min-width:<integer>. Default value: 0.
min-height:<integer>. Default value: 0.
max-width:<integer>. Default value: $fill.
max-height:<integer>. Default value: $fill.
resizable?:<boolean>. Default value: #t.
fixed-width?:<boolean>. Default value: #f.
fixed-height?:<boolean>. Default value: #f.
duim-layouts
duim-layouts
The class of layouts. This is the basic class from which all other forms of layout inherit. You cannot create direct instances of this class.
The space-requirement: init-keyword describes the space required for the layout. It is generally calculated automatically based on the values of the various width and height init-keywords, and the class of layout that is being created.
The width:, height:, min-width:, min-height:, max-width:, and max-height: init-keywords between them describe the configuration of the layout. The default values for these init-keywords (where applicable) are set such that the layout always fills the available space in any given direction.
Finally, three init-keywords are available that control how the layout is affected when the frame containing it is resized. All three init-keywords take boolean values. You can specify whether a layout is resizeable using the resizable?: init-keyword. If fixed-width?: or fixed-height?: are true, then the layout cannot be resized in the appropriate direction. Setting both to #t is equivalent to setting resizeable?: to #f. Different subclasses of layout restrict the values of these init-keywords in different ways, such that, for instance, a row layout has a fixed height.