ParameterRef

public struct ParameterRef : ParameterProtocol

The ParameterRef type acts as a lightweight Swift reference to an underlying GParameter instance. It exposes methods that can operate on this data type through ParameterProtocol conformance. Use ParameterRef only as an unowned reference to an existing GParameter instance.

The GParameter struct is an auxiliary structure used to hand parameter name/value pairs to g_object_newv().

  • ptr
    Untyped pointer to the underlying `GParameter` instance.
    

    For type-safe access, use the generated, typed pointer _ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer

Parameter Record