CrossingMode

public extension CrossingMode
  • Cast constructor, converting any binary integer to a CrossingMode.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • crossing because of pointer motion.

    Declaration

    Swift

    static let normal: GdkCrossingMode
  • crossing because a grab is activated.

    Declaration

    Swift

    static let grab: GdkCrossingMode
  • crossing because a grab is deactivated.

    Declaration

    Swift

    static let ungrab: GdkCrossingMode
  • crossing because a GTK grab is activated.

    Declaration

    Swift

    static let gtkGrab: GdkCrossingMode
  • crossing because a GTK grab is deactivated.

    Declaration

    Swift

    static let gtkUngrab: GdkCrossingMode
  • crossing because a GTK widget changed state (e.g. sensitivity).

    Declaration

    Swift

    static let stateChanged: GdkCrossingMode
  • crossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the surface.

    Declaration

    Swift

    static let touchBegin: GdkCrossingMode
  • crossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the surface.

    Declaration

    Swift

    static let touchEnd: GdkCrossingMode
  • crossing because of a device switch (i.e. a mouse taking control of the pointer after a touch device), this event is synthetic as the pointer didn’t leave the surface.

    Declaration

    Swift

    static let deviceSwitch: GdkCrossingMode