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 slot access function gtk-spin-button-snap-to-ticks returns whether the values are corrected to the nearest step. The slot access function (setf gtk-spin-button-snap-to-ticks) 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

2021-2-10