Enumeration

GtkSpinButtonUpdatePolicy

Declaration

enum Gtk.SpinButtonUpdatePolicy

Description [src]

Determines whether the spin button displays values outside the adjustment bounds.

See gtk_spin_button_set_update_policy().

Members

GTK_UPDATE_ALWAYS

When refreshing your GtkSpinButton, the value is always displayed.

  • Value: 0
  • Available since: 4.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: 4.0