Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

<group-box>

Open abstract instantiable class

Summary

The class of gadgets that group their children using a labelled border.

Superclasses

<gadget>

Init-keywords

label:
An instance of type <label>.

label-position:

An instance of type one-of(#"top", #"bottom"). Default value: #"top".

Library

duim-gadgets

Module

duim-gadgets

Description

The class of gadgets that group their children using a labelled border. You can use this gadget class to group together a number of related items visually.

Figure 8.18 A group box

The label: init-keyword specifies a string or icon that is to be used as a label for the gadget.

The label-position: init-keyword is used to specify whether the label should be displayed along the top or the bottom edge of the border.

Internally, this class maps into the Windows group box control.

Operations

None.

Example

contain(make(<group-box>, 
            child: make(<radio-box>, items: #(1,2,3,4),
                        orientation: #"vertical"),
            label: "Select integer:"));

See also

<border>, page 530

<check-box>, page 537

<push-box>, page 626

<radio-box>, page 630


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index