ConstantExpression

open class ConstantExpression(pointer: <Error class: unknown class><<Error class: unknown class>>) : Expression

A constant value in a GtkExpression.

Constructors

Link copied to clipboard
constructor(value: <Error class: unknown class>)

Creates an expression that always evaluates to the given value.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkConstantExpressionPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun bind(target: <Error class: unknown class>, property: String, this: <Error class: unknown class>? = null): ExpressionWatch

Bind target's property named property to self.

Link copied to clipboard
open fun evaluate(this: <Error class: unknown class>? = null, value: <Error class: unknown class>): Boolean

Evaluates the given expression and on success stores the result in @value.

Link copied to clipboard
open fun getValue(): <Error class: unknown class>

Gets the value that a constant expression evaluates to.

Link copied to clipboard
open fun getValueType(): <Error class: unknown class>

Gets the GType that this expression evaluates to.

Link copied to clipboard
open fun isStatic(): Boolean

Checks if the expression is static.

Link copied to clipboard
open fun ref(): Expression

Acquires a reference on the given GtkExpression.

Link copied to clipboard
open fun unref()

Releases a reference on the given GtkExpression.

Link copied to clipboard
open fun watch(this: <Error class: unknown class>? = null, notify: ExpressionNotify): ExpressionWatch

Watch the given expression for changes.