ParamSpecFlagsProtocol
public protocol ParamSpecFlagsProtocol : ParamSpecProtocol
A GParamSpec
derived structure that contains the meta data for flags
properties.
The ParamSpecFlagsProtocol
protocol exposes the methods and properties of an underlying GParamSpecFlags
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 ParamSpecFlags
.
Alternatively, use ParamSpecFlagsRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GParamSpecFlags
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
param_spec_flags_ptr
Default implementationTyped pointer to the underlying
GParamSpecFlags
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GParamSpecFlags
instance.Declaration
Swift
var param_spec_flags_ptr: UnsafeMutablePointer<GParamSpecFlags>! { get }
-
Required Initialiser for types conforming to
ParamSpecFlagsProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentInstance
Extension methodprivate
GParamSpec
portionDeclaration
Swift
@inlinable var parentInstance: GParamSpec { get }
-
flagsClass
Extension methodthe
GFlagsClass
for the flagsDeclaration
Swift
@inlinable var flagsClass: FlagsClassRef! { get }
-
defaultValue
Extension methoddefault value for the property specified
Declaration
Swift
@inlinable var defaultValue: guint { get }