Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: object
A GObject property value in a GtkExpression.
GtkPropertyExpression (this_type = null, expression = null, property_name = null)
Creates an expression that looks up a property. The object to use is found by evaluating the
expression, or using thethisargument whenexpressionisNULL. If the resulting object conforms tothis_type, its property namedproperty_namewill be queried. Otherwise, this expression's evaluation will fail. The giventhis_typemust have a property withproperty_name.
this_type is The type to expect for the this type.expression is Expression to evaluate to get the object to query or NULL to query the this object.property_name is name of the property.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asExpression ()
Wraps this handle as
GtkExpression.
A GtkExpression object.get_expression ()
Gets the expression specifying the object of a property expression.
the object expression.get_pspec ()
Gets the
GParamSpecspecifying the property of a property expression.
the GParamSpec for the property.[140:14] static extends: object
Alternate constructors for GtkPropertyExpression. Usage:
GtkPropertyExpressionCtors.<name>(...). The primary constructor lives
directly on GtkPropertyExpression.
newForPspec (object expression, object pspec)
Creates an expression that looks up a property. The object to use is found by evaluating the
expression, or using thethisargument whenexpressionisNULL. If the resulting object conforms tothis_type, its property specified bypspecwill be queried. Otherwise, this expression's evaluation will fail.
expression is Expression to evaluate to get the object to query or NULL to query the this object.pspec is the GParamSpec for the property to query.A new GtkPropertyExpression.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.