ConstantExpressionProtocol
public protocol ConstantExpressionProtocol : ExpressionProtocol
A constant value in a GtkExpression.
The ConstantExpressionProtocol protocol exposes the methods and properties of an underlying GtkConstantExpression 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 ConstantExpression.
Alternatively, use ConstantExpressionRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkConstantExpressioninstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
constant_expression_ptrDefault implementationTyped pointer to the underlying
GtkConstantExpressioninstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkConstantExpressioninstance.Declaration
Swift
var constant_expression_ptr: UnsafeMutablePointer<GtkConstantExpression>! { get } -
Required Initialiser for types conforming to
ConstantExpressionProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
getValue()Extension methodGets the value that a constant expression evaluates to.
Declaration
Swift
@inlinable func getValue() -> GLibObject.ValueRef! -
valueExtension methodGets the value that a constant expression evaluates to.
Declaration
Swift
@inlinable var value: GLibObject.ValueRef! { get }
View on GitHub
Install in Dash
ConstantExpressionProtocol Protocol Reference