ObjectExpressionProtocol
public protocol ObjectExpressionProtocol : ExpressionProtocol
A GObject value in a GtkExpression.
The ObjectExpressionProtocol protocol exposes the methods and properties of an underlying GtkObjectExpression 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 ObjectExpression.
Alternatively, use ObjectExpressionRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkObjectExpressioninstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
object_expression_ptrDefault implementationTyped pointer to the underlying
GtkObjectExpressioninstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkObjectExpressioninstance.Declaration
Swift
var object_expression_ptr: UnsafeMutablePointer<GtkObjectExpression>! { get } -
Required Initialiser for types conforming to
ObjectExpressionProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
getObject()Extension methodGets the object that the expression evaluates to.
Declaration
Swift
@inlinable func getObject() -> GLibObject.ObjectRef! -
objectExtension methodGets the object that the expression evaluates to.
Declaration
Swift
@inlinable var object: GLibObject.ObjectRef! { get }
View on GitHub
Install in Dash
ObjectExpressionProtocol Protocol Reference