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 number coerced to a double float for the increment applied for a button 1 press
page -- a number coerced to a double float for the increment applied for a button 2 press

Details

Gets or sets the current step and page increments used by the spin button. 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 slots of the adjustment associated with the spin button.
 

See also

#2026-06-28