Package: gtk

Function gtk-spin-button-range

Lambda List

gtk-spin-button-range (spin-button)

Syntax

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

Arguments

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

Details

Accessor of the minimum and maximum value of the spin button.

The function gtk-spin-button-range gets the minimum and maximum allowed values for the spin button. The function (setf gtk-spin-button-range) 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

2021-2-10