GtkRange::set_update_policy

GtkRange::set_update_policy

Sets the widgets update policy to policy. The update policy describes when the value of the adjustment is changed. When policy is GTK_UPDATE_CONTINUOUS, the value of the adjustment is updated while the slider is being moved. If policy is GTK_UPDATE_DELAYED, the value of the adjustment will be updated when the user has stopped moving the slider. When policy is set to GTK_UPDATE_DISCONTINUOUS, the value of the adjustment will not be changed until the user has released the mouse button and ended the slider drag operation.

Anytime the value of the adjustment is changed, the "value-changed" signal is emitted.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.