ExpressionWatch

class ExpressionWatch(*args, **kwargs)

An opaque structure representing a watched GtkExpression.

The contents of GtkExpressionWatch should only be accessed through the provided API.

Methods

class ExpressionWatch
evaluate(value: Any) bool

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

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

Parameters:

value – an empty GValue to be set

unwatch() None

Stops watching an expression.

See watch for how the watch was established.