Top | ![]() |
![]() |
![]() |
![]() |
GObject * | object | Read / Write / Construct Only |
gboolean | propagate-disposal | Read / Write / Construct Only |
IdeObjectBox *
ide_object_box_new (GObject *object
);
Create a new IdeObjectBox.
Since: 3.32
gpointer
ide_object_box_ref_object (IdeObjectBox *self
);
Gets the boxed object.
Since: 3.32
IdeObjectBox *
ide_object_box_from_object (GObject *object
);
Gets the IdeObjectBox that contains object
, if any.
This function may only be called from the main thread.
Since: 3.32
gboolean ide_object_box_contains (IdeObjectBox *self
,gpointer instance
);
Checks if self
contains instance
.
Since: 3.32
“object”
property“object” GObject *
The "object" property contains the object that is boxed and placed onto the object graph using this box.
Owner: IdeObjectBox
Flags: Read / Write / Construct Only
Since: 3.32
“propagate-disposal”
property“propagate-disposal” gboolean
The "propagate-disposal" property denotes if the “object”
property contents should have g_object_run_dispose()
called when the
IdeObjectBox is destroyed.
This is useful when you want to force disposal of an external object
when self
is removed from the object tree.
Owner: IdeObjectBox
Flags: Read / Write / Construct Only
Default value: TRUE
Since: 3.32