TargetPairProtocol

public protocol TargetPairProtocol

A GtkTargetPair is used to represent the same information as a table of GtkTargetEntry, but in an efficient form.

The TargetPairProtocol protocol exposes the methods and properties of an underlying GtkTargetPair instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see TargetPair. Alternatively, use TargetPairRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GtkTargetPair instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed pointer to the underlying GtkTargetPair instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkTargetPair instance.

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GtkTargetPair>! { get }
  • Required Initialiser for types conforming to TargetPairProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

TargetPair Record: TargetPairProtocol extension (methods and fields)

  • target Extension method

    GdkAtom representation of the target type

    Declaration

    Swift

    @inlinable
    var target: GdkAtom! { get set }
  • flags Extension method

    GtkTargetFlags for DND

    Declaration

    Swift

    @inlinable
    var flags: guint { get set }
  • info Extension method

    an application-assigned integer ID which will get passed as a parameter to e.g the GtkWidget::selection-get signal. It allows the application to identify the target type without extensive string compares.

    Declaration

    Swift

    @inlinable
    var info: guint { get set }