setUpdatePolicy

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

policy

a GtkSpinButtonUpdatePolicy value