Package: gtk

Accessor gtk:spin-button-snap-to-ticks

Lambda List

gtk:spin-button-snap-to-ticks (object)

Syntax

(gtk:spin-button-snap-to-ticks object) => snap-to-ticks
(setf (gtk:spin-button-snap-to-ticks object) snap-to-ticks)

Arguments

object -- a gtk:spin-button widget
snap-to-ticks -- a boolean indicating if invalid values should be corrected

Details

Accessor of the snap-to-ticks slot of the gtk:spin-button class. The gtk:spin-button-snap-to-ticks function returns whether the values are corrected to the nearest step. The (setf gtk:spin-button-snap-to-ticks) function sets the policy as to whether values are corrected to the nearest step increment when a spin button is activated after providing an invalid value.
 

See also

2023-9-30