ParamSpecEnumProtocol
public protocol ParamSpecEnumProtocol : ParamSpecProtocol
A GParamSpec
derived structure that contains the meta data for enum
properties.
The ParamSpecEnumProtocol
protocol exposes the methods and properties of an underlying GParamSpecEnum
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 ParamSpecEnum
.
Alternatively, use ParamSpecEnumRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GParamSpecEnum
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
param_spec_enum_ptr
Default implementationTyped pointer to the underlying
GParamSpecEnum
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GParamSpecEnum
instance.Declaration
Swift
var param_spec_enum_ptr: UnsafeMutablePointer<GParamSpecEnum>! { get }
-
Required Initialiser for types conforming to
ParamSpecEnumProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentInstance
Extension methodprivate
GParamSpec
portionDeclaration
Swift
@inlinable var parentInstance: GParamSpec { get }
-
enumClass
Extension methodthe
GEnumClass
for the enumDeclaration
Swift
@inlinable var enumClass: EnumClassRef! { get }
-
defaultValue
Extension methoddefault value for the property specified
Declaration
Swift
@inlinable var defaultValue: gint { get }