ClosureExpression

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

An expression using a custom GClosure to compute the value from its parameters.

Skipped during bindings generation

  • parameter params: Array parameter of type Expression is not supported

Constructors

Link copied to clipboard
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 gtkClosureExpressionPointer: <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 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.