Class: Gtk::ClosureExpression
- Inherits:
-
Expression
- Object
- Expression
- Gtk::ClosureExpression
- Defined in:
- (unknown)
Overview
An expression using a custom GClosure to compute the value from
its parameters.
Instance Method Summary collapse
-
#initialize(value_type, closure, n_params, params) ⇒ Gtk::ClosureExpression
constructor
Creates a
GtkExpressionthat callsclosurewhen it is evaluated.
Methods inherited from Expression
#bind, #evaluate, #is_static, #ref, #unref, #value_type, #watch
Constructor Details
#initialize(value_type, closure, n_params, params) ⇒ Gtk::ClosureExpression
Creates a GtkExpression that calls closure when it is evaluated.
closure is called with the this object and the results of evaluating
the params expressions.