set_update_policy


Description:

public void set_update_policy (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:

this

a SpinButton

policy

a SpinButtonUpdatePolicy value