ObjectConstructParamProtocol

public protocol ObjectConstructParamProtocol

The GObjectConstructParam struct is an auxiliary structure used to hand GParamSpec/GValue pairs to the constructor of a GObjectClass.

The ObjectConstructParamProtocol protocol exposes the methods and properties of an underlying GObjectConstructParam 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 ObjectConstructParam. Alternatively, use ObjectConstructParamRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GObjectConstructParam instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GObjectConstructParam instance.

    Default Implementation

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

ObjectConstructParam Record: ObjectConstructParamProtocol extension (methods and fields)