Gtk.SpinButton.prototype.set_update_policy
function set_update_policy(policy:Gtk.SpinButtonUpdatePolicy):void {
// Gjs wrapper for gtk_spin_button_set_update_policy()
}Sets the update behavior of a spin button. This determines whether the spin button is always updated or only when a valid value is set.
- policy
a Gtk.SpinButtonUpdatePolicy value