PropertyExpression.this

Creates an expression that looks up a property via the given expression or the this argument when expression is NULL.

If the resulting object conforms to this_type, its property named property_name will be queried. Otherwise, this expression's evaluation will fail.

The given this_type must have a property with property_name.

  1. this(GtkPropertyExpression* gtkPropertyExpression, bool ownedRef)
  2. this(GType thisType, Expression expression, string propertyName)
    class PropertyExpression
  3. this(Expression expression, ParamSpec pspec)

Parameters

thisType GType

The type to expect for the this type

expression Expression

Expression to evaluate to get the object to query or NULL to query the this object

propertyName string

name of the property

Return Value

a new GtkExpression

Throws

ConstructionException GTK+ fails to create the object.

Meta