Method

AgsFilexml_add_child

since: 4.0.0

Declaration [src]

void
ags_file_xml_add_child (
  AgsFile* file,
  xmlNode* parent,
  xmlNode* child
)

Description [src]

Set root element root_node of doc.

Available since: 4.0.0

Parameters

parent

Type: xmlNode

The parent #xmlNode-struct.

The data is owned by the caller of the method.
child

Type: xmlNode

The child #xmlNode-struct.

The instance takes ownership of the data, and is responsible for freeing it.