ScrollDirection

public extension ScrollDirection
  • 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

  • up

    the window is scrolled up.

    Declaration

    Swift

    static let up: GdkScrollDirection
  • the window is scrolled down.

    Declaration

    Swift

    static let down: GdkScrollDirection
  • the window is scrolled to the left.

    Declaration

    Swift

    static let left: GdkScrollDirection
  • the window is scrolled to the right.

    Declaration

    Swift

    static let right: GdkScrollDirection
  • the scrolling is determined by the delta values in GdkEventScroll. See gdk_event_get_scroll_deltas(). Since: 3.4

    Declaration

    Swift

    static let smooth: GdkScrollDirection