All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

range-set-sizes Function

Summary

Set values in a range-pane.

Package

capi

Signature

range-set-sizes range-pane &key start end slug-start slug-end redisplay

Arguments
range-pane
start
A real number or nil.
end
A real number or nil.
slug-start
A real number or nil.
slug-end
A real number or nil.
redisplay
A generalized boolean.
Description

The function range-set-sizes set the values in the range-pane range-pane for any value of start, end, slug-start or slug-end that is supplied as non-nil.

For each of start, end, slug-start and slug-end, if the value is nil or not supplied, the corresponding value in range-pane is not changed.

If redisplay is true (the default) then range-pane is redisplayed with the new values.

Notes

The values can be also set individually by the accessors (setf range-start) and so on. range-set-sizes has the advantage over the accessors that it causes fewer calls to redisplay.

See also

range-pane
3.9.4 Slider, Progress bar and Scroll bar


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42