enum Gtk::SpinButtonUpdatePolicy

Overview

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

See Gtk::SpinButton#update_policy=.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Always = 0_u32

When refreshing your Gtk::SpinButton, the value is always displayed

IfValid = 1_u32

When refreshing your Gtk::SpinButton, the value is only displayed if it is valid within the bounds of the spin button's adjustment

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def always? #

[View source]
def if_valid? #

[View source]