Package: gtk

Function gtk:spin-button-increments

Lambda List

gtk:spin-button-increments (spinbutton)

Syntax

(gtk:spin-button-increments spin-button) => step, page
(setf (gtk:spin-button-increments spin-button) (list step page))

Arguments

spinbutton -- a gtk:spin-button widget
step -- a double float increment applied for a button 1 press
page -- a double float increment applied for a button 2 press

Details

Accessor of the step and page increments of the spin button. The gtk:spin-button-increments function gets the current step and page increments used by the spin button. The (setf gtk:spin-button-increments) function sets the step and page increments.

This affects how quickly the value changes when the spin button's arrows are activated.

Notes

The values for the page and step increments are stored in the page-increment and step-increment slots of the adjustment associated with the spin button.
 

See also

#2023-3-12