ParamSpecFloatProtocol

public protocol ParamSpecFloatProtocol : ParamSpecProtocol

A GParamSpec derived structure that contains the meta data for float properties.

The ParamSpecFloatProtocol protocol exposes the methods and properties of an underlying GParamSpecFloat 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 ParamSpecFloat. Alternatively, use ParamSpecFloatRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GParamSpecFloat instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • param_spec_float_ptr Default implementation

    Typed pointer to the underlying GParamSpecFloat instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GParamSpecFloat instance.

    Declaration

    Swift

    var param_spec_float_ptr: UnsafeMutablePointer<GParamSpecFloat>! { get }
  • Required Initialiser for types conforming to ParamSpecFloatProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

ParamSpecFloat Class: ParamSpecFloatProtocol extension (methods and fields)

  • parentInstance Extension method

    private GParamSpec portion

    Declaration

    Swift

    @inlinable
    var parentInstance: GParamSpec { get }
  • minimum Extension method

    minimum value for the property specified

    Declaration

    Swift

    @inlinable
    var minimum: gfloat { get }
  • maximum Extension method

    maximum value for the property specified

    Declaration

    Swift

    @inlinable
    var maximum: gfloat { get }
  • defaultValue Extension method

    default value for the property specified

    Declaration

    Swift

    @inlinable
    var defaultValue: gfloat { get }
  • epsilon Extension method

    values closer than epsilon will be considered identical by g_param_values_cmp(); the default value is 1e-30.

    Declaration

    Swift

    @inlinable
    var epsilon: gfloat { get }