ParamSpecDoubleProtocol
public protocol ParamSpecDoubleProtocol : ParamSpecProtocol
A GParamSpec
derived structure that contains the meta data for double properties.
The ParamSpecDoubleProtocol
protocol exposes the methods and properties of an underlying GParamSpecDouble
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 ParamSpecDouble
.
Alternatively, use ParamSpecDoubleRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GParamSpecDouble
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
param_spec_double_ptr
Default implementationTyped pointer to the underlying
GParamSpecDouble
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GParamSpecDouble
instance.Declaration
Swift
var param_spec_double_ptr: UnsafeMutablePointer<GParamSpecDouble>! { get }
-
Required Initialiser for types conforming to
ParamSpecDoubleProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentInstance
Extension methodprivate
GParamSpec
portionDeclaration
Swift
@inlinable var parentInstance: GParamSpec { get }
-
minimum
Extension methodminimum value for the property specified
Declaration
Swift
@inlinable var minimum: gdouble { get }
-
maximum
Extension methodmaximum value for the property specified
Declaration
Swift
@inlinable var maximum: gdouble { get }
-
defaultValue
Extension methoddefault value for the property specified
Declaration
Swift
@inlinable var defaultValue: gdouble { get }
-
epsilon
Extension methodvalues closer than
epsilon
will be considered identical byg_param_values_cmp()
; the default value is 1e-90.Declaration
Swift
@inlinable var epsilon: gdouble { get }