Expression.evaluate

Evaluates the given expression and on success stores the result in value.

The GType of value will be the type given by [gtk.expression.Expression.getValueType].

It is possible that expressions cannot be evaluated - for example when the expression references objects that have been destroyed or set to NULL. In that case value will remain empty and FALSE will be returned.

Parameters

this_the this argument for the evaluation
valuean empty [gobject.value.Value]

Returns

TRUE if the expression could be evaluated