EventControllerScrollFlags

public struct EventControllerScrollFlags : OptionSet

Describes the behavior of a GtkEventControllerScroll.

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GtkEventControllerScrollFlags enum value

    Declaration

    Swift

    @inlinable
    public var value: GtkEventControllerScrollFlags { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    @inlinable
    public init(rawValue: UInt32)
  • Creates a new instance with the specified GtkEventControllerScrollFlags enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GtkEventControllerScrollFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Don’t emit scroll.

    Declaration

    Swift

    public static let none: EventControllerScrollFlags
  • Emit scroll with vertical deltas.

    Declaration

    Swift

    public static let vertical: EventControllerScrollFlags
  • Emit scroll with horizontal deltas.

    Declaration

    Swift

    public static let horizontal: EventControllerScrollFlags
  • Only emit deltas that are multiples of 1.

    Declaration

    Swift

    public static let discrete: EventControllerScrollFlags
  • Emit GtkEventControllerScroll::decelerate after continuous scroll finishes.

    Declaration

    Swift

    public static let kinetic: EventControllerScrollFlags
  • Emit scroll on both axes.

    Declaration

    Swift

    public static let bothAxes: EventControllerScrollFlags