Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

gadget-value-range-setter

Generic function

Summary

Sets the range of values for the specified gadget.

Signature

gadget-value-range-setter range gadget => range

Arguments

range
An instance of type <range>.

gadget
An instance of type <value-range-gadget>.

Values

range
An instance of type <range>.

Library

duim-gadgets

Module

duim-gadgets

Description

Sets the range of values for gadget. The value range is the elements represented by the range specified for gadget.

Example

Create a slider without specifying a range:

*slider* := contain(make(<slider>);

You can specify the range of this gadget by executing the following:

gadget-value-range(*slider*) := 
                     (range (from: -20 to: 20, by: 5});

See also

gadget-value-range, page 590


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index