CClosureExpressionProtocol
public protocol CClosureExpressionProtocol : ExpressionProtocol
A variant of GtkClosureExpression using a C closure.
The CClosureExpressionProtocol protocol exposes the methods and properties of an underlying GtkCClosureExpression 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 CClosureExpression.
Alternatively, use CClosureExpressionRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkCClosureExpressioninstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
cclosure_expression_ptrDefault implementationTyped pointer to the underlying
GtkCClosureExpressioninstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkCClosureExpressioninstance.Declaration
Swift
var cclosure_expression_ptr: UnsafeMutablePointer<GtkCClosureExpression>! { get } -
Required Initialiser for types conforming to
CClosureExpressionProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
CClosureExpressionProtocol Protocol Reference