PropertyExpression.newForPspec
gtk.property_expression.PropertyExpression newForPspec(gtk.expression.Expression expression, gobject.param_spec.ParamSpec pspec)Creates an expression that looks up a property.
The object to use is found by evaluating the expression, or using the this argument when expression is NULL.
If the resulting object conforms to this_type, its property specified by pspec will be queried. Otherwise, this expression's evaluation will fail.
Parameters
expression | Expression to evaluate to get the object to query or NULL to query the this object |
pspec | the [gobject.param_spec.ParamSpec] for the property to query |
Returns
a new [gtk.expression.Expression]