Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

<separator>

Open abstract instantiable class

Summary

The class of gadgets used as a visual separator.

Superclasses

<gadget>

Init-keywords

orientation:
An instance of type one-of(#"horizontal", #"vertical"). Default value: #"horizontal".

Library

duim-gadgets

Module

duim-gadgets

Description

The class of gadgets used as a visual separator.

Figure 8.33 A separator

The orientation: init-keyword specifies whether the separator is vertical or horizontal.

Operations

None.

Example

The following example creates a column layout and places two buttons in it, separated with a separator.

contain(vertically () 
            make(<button>, label: "Hello");
            make(<separator>);
            make(<button>, label: "World") 
        end);

See also

<spacing>, page 647


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index