ClosureExpressionProtocol
public protocol ClosureExpressionProtocol : ExpressionProtocol
An expression using a custom GClosure to compute the value from
its parameters.
The ClosureExpressionProtocol protocol exposes the methods and properties of an underlying GtkClosureExpression 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 ClosureExpression.
Alternatively, use ClosureExpressionRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkClosureExpressioninstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
closure_expression_ptrDefault implementationTyped pointer to the underlying
GtkClosureExpressioninstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkClosureExpressioninstance.Declaration
Swift
var closure_expression_ptr: UnsafeMutablePointer<GtkClosureExpression>! { get } -
Required Initialiser for types conforming to
ClosureExpressionProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
ClosureExpressionProtocol Protocol Reference