Gtk.ExpressionWatch¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class Gtk.ExpressionWatch¶
An opaque structure representing a watched
GtkExpression
.The contents of
GtkExpressionWatch
should only be accessed through the provided API.- evaluate(value)[source]¶
- Parameters:
value (
GObject.Value
) – an emptyGValue
to be set- Returns:
TRUE
if the expression could be evaluated andvalue
was set- Return type:
Evaluates the watched expression and on success stores the result in
value
.This is equivalent to calling [method`Gtk`.Expression.evaluate] with the expression and this pointer originally used to create
watch
.
- ref()[source]¶
- Returns:
the
GtkExpressionWatch
with an additional reference- Return type:
Acquires a reference on the given
GtkExpressionWatch
.