Virtual Method
IdeObjectadd
Declaration
void
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:
IdeObject
An
IdeObject
orNULL
.The argument can be NULL
.The data is owned by the caller of the function. child
-
Type:
IdeObject
An
IdeObject
.The data is owned by the caller of the function. location
-
Type:
IdeObjectLocation
Location for child.