Expression.evaluate

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

The gobject.types.TYPE_FLAG_RESERVED_ID_BIT 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_ gobject.object.ObjectG

the this argument for the evaluation

value gobject.value.Value

Return Value

Type: bool

TRUE if the expression could be evaluated