ObjectExpression
Description:
[ CCode ( has_construct_function = false , type = "GtkExpression*" ) ]
public ObjectExpression (Object object)
public ObjectExpression (Object object)
Creates an expression evaluating to the given `object` with a weak reference.
Once the `object` is disposed, it will fail to evaluate.
This expression is meant to break reference cycles.
If you want to keep a reference to `object`, use [ctor@Gtk.ConstantExpression.new].
Parameters:
object |
object to watch |
Returns:
a new `GtkExpression` |