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.
-
Untyped pointer to the underlying
GObjectConstructParam
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped 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)
-
pspec
Extension methodthe
GParamSpec
of the construct parameterDeclaration
Swift
@inlinable var pspec: ParamSpecRef! { get set }
-
value
Extension methodthe value to set the parameter to
Declaration
Swift
@inlinable var value: ValueRef! { get set }