ObjectConstructParamProtocol

public protocol ObjectConstructParamProtocol

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.

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

  • 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 }

ObjectConstructParam Record: ObjectConstructParamProtocol extension (methods and fields)

  • pspec Extension method

    the GParamSpec of the construct parameter

    Declaration

    Swift

    var pspec: UnsafeMutablePointer<GParamSpec> { get set }
  • value Extension method

    the value to set the parameter to

    Declaration

    Swift

    var value: UnsafeMutablePointer<GValue> { get set }