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.
( -> new group-box-panel% (label _) (parent _) [(style _)] [(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%, or pane% object
style = : list of symbols in null'(deleted)
enabled = : boolean
#t
vert-margin = : exact integer in [0, 1000]
2
horiz-margin = : exact integer in [0, 1000]
2
border = : exact integer in [0, 1000]
0
spacing = : exact integer in [0, 1000]
0
alignment = : two-element list: '(center top)'left, 'center, or 'right and 'top, 'center, or 'bottom
min-width = : exact integer in [0, 10000]
0
min-height = : exact integer in [0, 10000]
0
stretchable-width = : boolean
#t
stretchable-height = : boolean#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.
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<%>.
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-control-font from area-container-window<%>
get-cursor from window<%>
get-graphical-min-size from area<%>
get-height from window<%>
get-label from window<%>
get-label-font from area-container-window<%>
get-label-position from area-container-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-control-font from area-container-window<%>
set-cursor from window<%>
set-label from window<%>
set-label-font from area-container-window<%>
set-label-position from area-container-window<%>
show from window<%>
spacing from area-container<%>
stretchable-height from area<%>
stretchable-width from area<%>
vert-margin from subarea<%>