PropertyExpression

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

A GObject property value in a GtkExpression.

Constructors

Link copied to clipboard
constructor(thisType: <Error class: unknown class>, expression: Expression? = null, propertyName: String)

Creates an expression that looks up a property.

constructor(expression: Expression? = null, pspec: <Error class: unknown class>)

Creates an expression that looks up a property.

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 gtkPropertyExpressionPointer: <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

Gets the expression specifying the object of a property expression.

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

Gets the GParamSpec specifying the property of a property expression.

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.