Compilation Units
Tagged Types
A GObject value in a GtkExpression.
function Create
(Object : not null access System.Address)
return Gtk_Object_Expression_Record
function Get_Object
(Self : Gtk_Object_Expression) return Glib.Object.GObject
Gets the object that the expression evaluates to.
the object, or NULL. Has transfer-ownership='none'.
function Get_Type return Glib.GType
procedure Gtk_New
(Self : out Gtk_Object_Expression;
Object : not null access Glib.Object.GObject_Record'Class)
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 [ctorGtk.ConstantExpression.new]. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
object to watch
type Gtk_Object_Expression is access all Gtk_Object_Expression_Record'Class;
function Gtk_Object_Expression_New
(Object : not null access Glib.Object.GObject_Record'Class)
return Gtk_Object_Expression
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 [ctorGtk.ConstantExpression.new].
object to watch
type Gtk_Object_Expression_Record is new Gtk_Expression_Record with null record;
procedure Initialize
(Self : not null access Gtk_Object_Expression_Record'Class;
Object : not null access Glib.Object.GObject_Record'Class)
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 [ctorGtk.ConstantExpression.new]. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
object to watch