Gtk.ObjectExpression¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gtk.ObjectExpression¶
- Bases:
- Abstract:
No
A
GObjectvalue in aGtkExpression.- classmethod new(object)[source]¶
- Parameters:
object (
GObject.Object) – object to watch- Returns:
a new
GtkExpression- Return type:
Creates an expression evaluating to the given
objectwith a weak reference.Once the
objectis 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].