# Method GTK1.Range()->set_update_policy()

Method set_update_policy

  ``GTK1.Range` set_update_policy(`int` `when`)`

Description

  The "update policy" of a range widget defines at what points during user interaction it will change the value field of its Adjustment and emit the "value_changed" signal on this Adjustment. The update policies are:

  GTK1.UpdatePolicyContinuous

    This is the default. The "value_changed" signal is emitted continuously, i.e., whenever the slider is moved by even the tiniest amount.

  GTK1.UpdatePolicyDiscontinuous

    The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.

  GTK1.UpdatePolicyDelayed

    The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.