Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

<value-range-gadget>

Open abstract class

Summary

The class of all value gadgets with ranges.

Superclasses

<value-gadget>

Init-keywords

value-range:
An instance of type <range>. Default value: range(from: 0, to: 100).

Library

duim-gadgets

Module

duim-gadgets

Description

The class of all value gadgets with ranges. You should not create a direct instance of this class.

The value-range: init-keyword is the range of values that the gadget value of a value range gadget can take. This may be different in any given situation: when downloading a file or compiling source code, you might want to use a value range of 0-100, to indicate percentage done (this is the default). When downloading e-mail messages from a mail server, however, you may want to use a range equal to the number of messages being downloaded.

Operations

gadget-value-range gadget-value-range-setter

Example

contain(make(<slider>, 
             value-range: 
                range(from: -20, to: 20, by: 5)));

See also

<progress-bar>, page 625

<scroll-bar>, page 637

<slider>, page 644

<value-gadget>, page 691


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index