ObjectExpression

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

A GObject value in a GtkExpression.

Constructors

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

Creates an expression evaluating to the given object with a weak reference.

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 gtkObjectExpressionPointer: <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 getObject(): <Error class: unknown class>?

Gets the object that the 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.