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

NextPrevUpTopContentsIndex

range-set-sizes

Function
Summary

Set values in a range-pane.

Signature

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

Arguments

range-pane

A 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.

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 then range-pane is redisplayed with the new values.

The default value of redisplay is t.

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
Slider, Progress bar and Scroll bar


CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017

NextPrevUpTopContentsIndex