enum Gtk::SpinType

Overview

The values of the Gtk::SpinType enumeration are used to specify the change to make in gtk_spin_button_spin().

Defined in:

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

Enum Members

StepForward = 0_u32

Increment by the adjustments step increment.

StepBackward = 1_u32

Decrement by the adjustments step increment.

PageForward = 2_u32

Increment by the adjustments page increment.

PageBackward = 3_u32

Decrement by the adjustments page increment.

Home = 4_u32

Go to the adjustments lower bound.

End = 5_u32

Go to the adjustments upper bound.

UserDefined = 6_u32

Change by a specified amount.

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 end? #

[View source]
def home? #

[View source]
def page_backward? #

[View source]
def page_forward? #

[View source]
def step_backward? #

[View source]
def step_forward? #

[View source]
def user_defined? #

[View source]