Declaration [src]

gtk_expression_evaluate (
  GtkExpression* self,
  GObject* this_,
  GValue* value

Description [src]

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

The GType of value will be the type given by gtk_expression_get_value_type().

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.


this_ GObject*

the this argument for the evaluation

 Can be NULL
 The data is owned by the caller of the function
value GValue*

an empty GValue

 The data is owned by the caller of the function

Return value

Returns: gboolean

TRUE if the expression could be evaluated