enum
Gdk::ScrollDirection
Overview
Specifies the direction for scroll events.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/gdk.crEnum 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
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#down?
Returns
true
if this enum value equalsDown
-
#left?
Returns
true
if this enum value equalsLeft
-
#right?
Returns
true
if this enum value equalsRight
-
#smooth?
Returns
true
if this enum value equalsSmooth
-
#up?
Returns
true
if this enum value equalsUp
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.