RGtk2 (version 2.20.31)

gtkSpinButtonSetSnapToTicks: gtkSpinButtonSetSnapToTicks

Description

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.

Usage

gtkSpinButtonSetSnapToTicks(object, snap.to.ticks)

Arguments

snap.to.ticks
a flag indicating if invalid values should be corrected.