Package: gtk

Function gtk:spin-button-increments

Lambda List

gtk:spin-button-increments (button)

Syntax

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

Arguments

button -- 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

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 arrows of the spin button are activated.

Notes

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

See also

#2023-9-30