SpinButton.setUpdatePolicy

void setUpdatePolicy(gtk.types.SpinButtonUpdatePolicy 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.

Parameters

policya [gtk.types.SpinButtonUpdatePolicy] value