Class: Gtk::PropertyExpression

Inherits:
Expression show all
Defined in:
(unknown)

Overview

A GObject property value in a GtkExpression.

Instance Method Summary collapse

Methods inherited from Expression

#bind, #evaluate, #is_static, #ref, #unref, #value_type, #watch

Constructor Details

#initialize(expression, pspec) ⇒ Gtk::PropertyExpression

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 (Gtk::Expression)

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

  • pspec (GObject::ParamSpec)

    the GParamSpec for the property to query

Instance Method Details

#expressionGtk::Expression

Gets the expression specifying the object of a property expression.

Returns:

#pspecGObject::ParamSpec

Gets the GParamSpec specifying the property of a property expression.

Returns:

  • (GObject::ParamSpec)

    the GParamSpec for the property