Package: gtk
Function gtk:expression-evaluate
Lambda Listgtk:expression-evaluate (expression object value) Argumentsexpression -- a gtk:expression instance object -- a g:object instance for the evaluation value -- an initialized g:value instance Return ValueTrue if the expression could be evaluated. Details Evaluates the given expression and on success stores the result as a g:value instance in gvalue.
The GType of the returned value will be the type given by the gtk:expression-value-type function. It is possible that expressions cannot be evaluated - for example when the expression references objects that have been destroyed. In that case false will be returned. See the gtk:expression-evaluate-value function for a variant that does not need an g:value instance, but returns the value. | See also |
2025-3-14