set_snap_to_ticks


Description:

public void set_snap_to_ticks (bool 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.

Parameters:

this

a `GtkSpinButton`

snap_to_ticks

a flag indicating if invalid values should be corrected