enum Gdk::ScrollDirection

Overview

Specifies the direction for scroll events.

Defined in:

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

Enum Members

Up = 0_u32

the surface is scrolled up.

Down = 1_u32

the surface is scrolled down.

Left = 2_u32

the surface is scrolled to the left.

Right = 3_u32

the surface is scrolled to the right.

Smooth = 4_u32

the scrolling is determined by the delta values in scroll events. See gdk_scroll_event_get_deltas()

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

[View source]
def left? #

[View source]
def right? #

[View source]
def smooth? #

[View source]
def up? #

[View source]