enum Gtk::ScrollType

Overview

Scrolling types.

Defined in:

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

Enum Members

None = 0_u32

No scrolling.

Jump = 1_u32

Jump to new location.

StepBackward = 2_u32

Step backward.

StepForward = 3_u32

Step forward.

PageBackward = 4_u32

Page backward.

PageForward = 5_u32

Page forward.

StepUp = 6_u32

Step up.

StepDown = 7_u32

Step down.

PageUp = 8_u32

Page up.

PageDown = 9_u32

Page down.

StepLeft = 10_u32

Step to the left.

StepRight = 11_u32

Step to the right.

PageLeft = 12_u32

Page to the left.

PageRight = 13_u32

Page to the right.

Start = 14_u32

Scroll to start.

End = 15_u32

Scroll to end.

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

[View source]
def none? #

[View source]
def page_backward? #

[View source]
def page_down? #

[View source]
def page_forward? #

[View source]
def page_left? #

[View source]
def page_right? #

[View source]
def page_up? #

[View source]
def start? #

[View source]
def step_backward? #

[View source]
def step_down? #

[View source]
def step_forward? #

[View source]
def step_left? #

[View source]
def step_right? #

[View source]
def step_up? #

[View source]