EventType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • the window manager has requested that the toplevel surface be hidden or destroyed, usually when the user clicks on a special icon in the title bar.

    Declaration

    Swift

    static let delete: GdkEventType
  • the pointer (usually a mouse) has moved.

    Declaration

    Swift

    static let motionNotify: GdkEventType
  • a mouse button has been pressed.

    Declaration

    Swift

    static let buttonPress: GdkEventType
  • a mouse button has been released.

    Declaration

    Swift

    static let buttonRelease: GdkEventType
  • a key has been pressed.

    Declaration

    Swift

    static let keyPress: GdkEventType
  • a key has been released.

    Declaration

    Swift

    static let keyRelease: GdkEventType
  • the pointer has entered the surface.

    Declaration

    Swift

    static let enterNotify: GdkEventType
  • the pointer has left the surface.

    Declaration

    Swift

    static let leaveNotify: GdkEventType
  • the keyboard focus has entered or left the surface.

    Declaration

    Swift

    static let focusChange: GdkEventType
  • an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).

    Declaration

    Swift

    static let proximityIn: GdkEventType
  • an input device has moved out of contact with a sensing surface.

    Declaration

    Swift

    static let proximityOut: GdkEventType
  • the mouse has entered the surface while a drag is in progress.

    Declaration

    Swift

    static let dragEnter: GdkEventType
  • the mouse has left the surface while a drag is in progress.

    Declaration

    Swift

    static let dragLeave: GdkEventType
  • the mouse has moved in the surface while a drag is in progress.

    Declaration

    Swift

    static let dragMotion: GdkEventType
  • a drop operation onto the surface has started.

    Declaration

    Swift

    static let dropStart: GdkEventType
  • the scroll wheel was turned

    Declaration

    Swift

    static let scroll: GdkEventType
  • a pointer or keyboard grab was broken.

    Declaration

    Swift

    static let grabBroken: GdkEventType
  • A new touch event sequence has just started.

    Declaration

    Swift

    static let touchBegin: GdkEventType
  • A touch event sequence has been updated.

    Declaration

    Swift

    static let touchUpdate: GdkEventType
  • A touch event sequence has finished.

    Declaration

    Swift

    static let touchEnd: GdkEventType
  • A touch event sequence has been canceled.

    Declaration

    Swift

    static let touchCancel: GdkEventType
  • A touchpad swipe gesture event, the current state is determined by its phase field.

    Declaration

    Swift

    static let touchpadSwipe: GdkEventType
  • A touchpad pinch gesture event, the current state is determined by its phase field.

    Declaration

    Swift

    static let touchpadPinch: GdkEventType
  • A tablet pad button press event.

    Declaration

    Swift

    static let padButtonPress: GdkEventType
  • A tablet pad button release event.

    Declaration

    Swift

    static let padButtonRelease: GdkEventType
  • A tablet pad axis event from a “ring”.

    Declaration

    Swift

    static let padRing: GdkEventType
  • A tablet pad axis event from a “strip”.

    Declaration

    Swift

    static let padStrip: GdkEventType
  • A tablet pad group mode change.

    Declaration

    Swift

    static let padGroupMode: GdkEventType
  • marks the end of the GdkEventType enumeration.

    Declaration

    Swift

    static let eventLast: GdkEventType