ExpressionWatch.evaluate

bool evaluate(gobject.value.Value value)

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

This is equivalent to calling [gtk.expression.Expression.evaluate] with the expression and this pointer originally used to create watch.

Parameters

valuean empty [gobject.value.Value] to be set

Returns

TRUE if the expression could be evaluated and value was set