Method
IdeObjectadd
Declaration
void
ide_object_add (
IdeObject* self,
IdeObject* sibling,
IdeObject* child,
IdeObjectLocation location
)
Description
Adds child to self, with location dependent on location.
Generally, it is simpler to use the helper functions such as ide_object_append(), ide_object_prepend(), ide_object_insert_before(), or ide_object_insert_after().
This function is primarily meant for consumers that don’t know the relative position they need until runtime.
Parameters
sibling-
Type:
IdeObjectAn
IdeObjectorNULL.The argument can be NULL.The data is owned by the caller of the method. child-
Type:
IdeObjectAn
IdeObject.The data is owned by the caller of the method. location-
Type:
IdeObjectLocationLocation for child.