CClosureExpressionRef

public struct CClosureExpressionRef : CClosureExpressionProtocol

A variant of GtkClosureExpression using a C closure.

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

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

CClosureExpression Class