-
Cast constructor, converting any binary integer to a
ScrollDirection
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
the surface is scrolled up.
Declaration
Swift
static let up: GdkScrollDirection
-
the surface is scrolled down.
Declaration
Swift
static let down: GdkScrollDirection
-
the surface is scrolled to the left.
Declaration
Swift
static let left: GdkScrollDirection
-
the surface is scrolled to the right.
Declaration
Swift
static let right: GdkScrollDirection
-
the scrolling is determined by the delta values in scroll events. See
gdk_scroll_event_get_deltas()
Declaration
Swift
static let smooth: GdkScrollDirection