Package: gtk

Function gtk:spin-button-range

Lambda List

gtk:spin-button-range (button)

Syntax

(gtk:spin-button-range button) => min, max
(setf (gtk:spin-button-range button) (list min max))

Arguments

button -- a gtk:spin-button widget
min -- a double float minimum allowable value
max -- a double float maximum allowable value

Details

The gtk:spin-button-range function gets the minimum and maximum allowed values for the spin button. The (setf gtk:spin-button-range) function sets the minimum and maximum allowable values.

If the current value is outside this range, it will be adjusted to fit within the range, otherwise it will remain unchanged.
 

See also

#2023-9-30