An integer specifying the lowest possible value in the range.
An integer specifying the highest possible value in the range.
A generalized boolean.
An integer specifying the current value in the pane.
A function called when the value is changed by the user.
The type of arguments passed to the callback.
controls what happens if the user presses the up or down button until the start or end is reached. If
nil, then it stops at the limit. If
is true then it wraps around to the other end. The default value of
, if non-nil, should be a function to be called whenever the value is changed by the user. The arguments to callback are specified by
(see the callbacks class for details of possible values, noting that the "data" is the value and the "item" is the pane itself). The default
(:item :data). Note that, if the value is changed by the user editing the text, then
, if supplied, is called as well.
change-callback string pane interface caret-position
where the arguments are interpreted just as for the change-callback of text-input-pane. Note that editing of the text may or may not change the value in the
text-input-range (that is, what
text-input-range-value returns). If the value does change, then
is called too.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017