Gtk.SpinButton.prototype.set_snap_to_ticks
function set_snap_to_ticks(snap_to_ticks:Boolean):void {
// Gjs wrapper for gtk_spin_button_set_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.
- snap_to_ticks
a flag indicating if invalid values should be corrected