ParamSpecClassProtocol
public protocol ParamSpecClassProtocol
The class structure for the GParamSpec type.
Normally, GParamSpec classes are filled by
g_param_type_register_static()
.
The ParamSpecClassProtocol
protocol exposes the methods and properties of an underlying GParamSpecClass
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 ParamSpecClass
.
Alternatively, use ParamSpecClassRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GParamSpecClass
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GParamSpecClass
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GParamSpecClass
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GParamSpecClass>! { get }
-
Required Initialiser for types conforming to
ParamSpecClassProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
gTypeClass
Extension methodthe parent class
Declaration
Swift
@inlinable var gTypeClass: GTypeClass { get }
-
valueType
Extension methodthe
GValue
type for this parameterDeclaration
Swift
@inlinable var valueType: GType { get }