
Gnome::Gtk4::ObjectExpression
Description
A Gnome::GObject::Object value in a Gnome::Gtk4::Expression.
Uml Diagram

Class initialization
new
:native-object
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
new-objectexpression
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 .newobjectexpression()
in class Gnome::Gtk4::ConstantExpression
.
method new-objectexpression ( N-Object() $object --> Gnome::Gtk4::ObjectExpression )
$object; object to watch.
Methods
get-object
Gets the object that the expression evaluates to.
method get-object (--> N-Object )
Return value; the object, or undefined.