ParamSpecGTypeProtocol
public protocol ParamSpecGTypeProtocol : ParamSpecProtocol
A GParamSpec
derived structure that contains the meta data for GType
properties.
The ParamSpecGTypeProtocol
protocol exposes the methods and properties of an underlying GParamSpecGType
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 ParamSpecGType
.
Alternatively, use ParamSpecGTypeRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GParamSpecGType
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
param_spec_gtype_ptr
Default implementationTyped pointer to the underlying
GParamSpecGType
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GParamSpecGType
instance.Declaration
Swift
var param_spec_gtype_ptr: UnsafeMutablePointer<GParamSpecGType>! { get }
-
Required Initialiser for types conforming to
ParamSpecGTypeProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentInstance
Extension methodprivate
GParamSpec
portionDeclaration
Swift
@inlinable var parentInstance: GParamSpec { get }
-
isAType
Extension methoda
GType
whose subtypes can occur as valuesDeclaration
Swift
@inlinable var isAType: GType { get }