[Top]
GTK
GTK.Dial
|
Method GTK.Dial()->set_update_policy()
- Method
set_update_policy
GTK.Dial 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:
- GTK.UpdatePolicyContinuous
This is the default. The "value_changed" signal is emitted
continuously, i.e., whenever the slider is moved by even the
tiniest amount.
- GTK.UpdatePolicyDiscontinuous
The "value_changed" signal is only emitted once the slider has
stopped moving and the user has released the mouse button.
- GTK.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.
|