3.21 group-box-panel%

On this page:
new
Inherited methods:
from window<%>
from area<%>
from subarea<%>
top
up

superclass:vertical-panel%

A group-box panel arranges its subwindows in a single column, but also draws an optional label at the top of the panel and a border around the panel content.

Unlike most panel classes, a group-box panel’s horizontal and vertical margins default to 2.

constructor

[labellabel]
[parentparent]
[ [stylestyle]
[fontfont]
[enabledenabled]
[vert-marginvert-margin]
[horiz-marginhoriz-margin]
[borderborder]
[spacingspacing]
[alignmentalignment]
[min-widthmin-width]
[min-heightmin-height]
[stretchable-widthstretchable-width]
[stretchable-heightstretchable-height]])
style:(listof (or/c 'deleted))=null
enabled:any/c =#t
vert-margin:spacing-integer? =2
horiz-margin:spacing-integer? =2
border:spacing-integer? =0
spacing:spacing-integer? =0
alignment :
(list/c (or/c 'left'center'right)
(or/c 'top'center'bottom))
= '(centertop)
min-width:(or/c dimension-integer? #f)=#f
min-height:(or/c dimension-integer? #f)=#f
stretchable-width:any/c =#t
stretchable-height:any/c =#t
Creates a group pane whose title is label.

If style includes 'deleted, then the group panel is created as hidden, and it does not affect its parent’s geometry; the group panel can be made active later by calling parent’s add-child method.

The font argument determines the font for the control. For information about the enabled argument, see window<%> . For information about the horiz-margin and vert-margin arguments, see subarea<%> . For information about the min-width, min-height, stretchable-width, and stretchable-height arguments, see area<%> .

top
up

AltStyle によって変換されたページ (->オリジナル) /