3.21 group-box-panel%
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.
(->newgroup-box-panel% (label_) (parent_) [(style_)] [(font_)] [(enabled_)] [(vert-margin_)] [(horiz-margin_)] [(border_)] [(spacing_)] [(alignment_)] [(min-width_)] [(min-height_)] [(stretchable-width_)] [(stretchable-height_)])group-box-panel%object
label: string (up to 200 characters)
parent:frame%,dialog%,panel%, orpane%object
style=null: list of symbols in'(deleted)
font=:small-control-fontfont%object
enabled=#t: boolean
vert-margin=2: exact integer in [0, 1000]
horiz-margin=2: exact integer in [0, 1000]
border=0: exact integer in [0, 1000]
spacing=0: exact integer in [0, 1000]
alignment='(center top): two-element list:'left,'center, or'rightand'top,'center, or'bottom
min-width=0: exact integer in [0, 10000]
min-height=0: exact integer in [0, 10000]
stretchable-width=#t: boolean
stretchable-height=#t: booleanCreates a group pane whose title is
label.If
styleincludes'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 callingparent'sadd-childmethod.The
fontargument determines the font for the control. For information about theenabledargument, seewindow<%>. For information about thehoriz-marginandvert-marginarguments, seesubarea<%>. For information about themin-width,min-height,stretchable-width, andstretchable-heightarguments, seearea<%>.
All Methods
accept-drop-files from window<%>
add-child from area-container<%>
after-new-child from area-container<%>
begin-container-sequence from area-container<%>
border from area-container<%>
change-children from area-container<%>
client->screen from window<%>
container-flow-modified from area-container<%>
container-size from area-container<%>
delete-child from area-container<%>
enable from window<%>
end-container-sequence from area-container<%>
focus from window<%>
get-alignment from area-container<%>
get-children from area-container<%>
get-client-size from window<%>
get-cursor from window<%>
get-graphical-min-size from area<%>
get-handle from window<%>
get-height from window<%>
get-label from window<%>
get-parent from area<%>
get-plain-label from window<%>
get-size from window<%>
get-top-level-window from area<%>
get-width from window<%>
get-x from window<%>
get-y from window<%>
has-focus? from window<%>
horiz-margin from subarea<%>
is-enabled? from window<%>
is-shown? from window<%>
min-height from area<%>
min-width from area<%>
on-drop-file from window<%>
on-focus from window<%>
on-move from window<%>
on-size from window<%>
on-subwindow-char from window<%>
on-subwindow-event from window<%>
on-superwindow-enable from window<%>
on-superwindow-show from window<%>
place-children from area-container<%>
popup-menu from window<%>
reflow-container from area-container<%>
refresh from window<%>
screen->client from window<%>
set-alignment from area-container<%>
set-cursor from window<%>
set-label from window<%>
show from window<%>
spacing from area-container<%>
stretchable-height from area<%>
stretchable-width from area<%>
vert-margin from subarea<%>