Next Previous Up Top Contents Index

7.3 DUIM-Layouts Module

horizontally

Statement macro

Summary

Lays out a series of gadgets horizontally.

Macro call

horizontally ([options]) {panes}+ end

Arguments

options
Dylan argumentsbnf.

panes
One or more occurrences of Dylan bodybnf.

Values

None.

Library

duim-layouts

Module

duim-layouts

Description

This macro lays a series of gadgets out horizontally, creating the necessary layouts for you automatically.

The options are passed directly to the row layout, and thus can be any legitimate combinations of init-keywords for <row-layout>. If no options are specified, then the default values for row layout are used.

The panes argument consists of a number of Dylan expressions, each of which creates an instance of a gadget or layout that is to be included in the horizontal layout.

Example

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

See also

<row-layout>, page 480

tabling, page 498

vertically, page 500


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index