Package: gtk

GEnum gtk:spin-button-update-policy

Declaration

(gobject:define-genum "GtkSpinButtonUpdatePolicy" spin-button-update-policy
  (:export t
   :type-initializer "gtk_spin_button_update_policy_get_type")
  (:always 0)
  (:if-valid 1))  

Values

:always
When refreshing the spin button, the value is always displayed
:if-valid
When refreshing the spin button, the value is only displayed if it is valid within the bounds of the spin button's adjustment.

Details

The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. See the gtk:spin-button-update-policy function.
 

See also

2023-9-30