ParamSpecValueArrayProtocol

public protocol ParamSpecValueArrayProtocol : ParamSpecProtocol

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

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

  • ptr

    Untyped pointer to the underlying GParamSpecValueArray instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GParamSpecValueArray instance.

    Default Implementation

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

    Declaration

    Swift

    var param_spec_value_array_ptr: UnsafeMutablePointer<GParamSpecValueArray>! { get }

ParamSpecValueArray Class: ParamSpecValueArrayProtocol extension (methods and fields)

  • parentInstance Extension method

    private GParamSpec portion

    Declaration

    Swift

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

    a GParamSpec describing the elements contained in arrays of this property, may be nil

    Declaration

    Swift

    @inlinable
    var elementSpec: ParamSpecRef! { get }
  • fixedNElements Extension method

    if greater than 0, arrays of this property will always have this many elements

    Declaration

    Swift

    @inlinable
    var fixedNElements: guint { get }