ClosureExpressionRef

public struct ClosureExpressionRef : ClosureExpressionProtocol

An expression using a custom GClosure to compute the value from its parameters.

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

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

ClosureExpression Class