Enumeration

GtkSpinButtonUpdatePolicy

Declaration

enum Gtk.SpinButtonUpdatePolicy

Description [src]

The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. See gtk_spin_button_set_update_policy().

Members

GTK_UPDATE_ALWAYS

When refreshing your GtkSpinButton, the value is always displayed.

  • Value: 0
  • Available since: 3.0
GTK_UPDATE_IF_VALID

When refreshing your GtkSpinButton, the value is only displayed if it is valid within the bounds of the spin button’s adjustment.

  • Value: 1
  • Available since: 3.0