Logo Search packages:      
Sourcecode: inkscape version File versions

virtual void Inkscape::XML::Node::removeChild ( Node child  )  [pure virtual]

Remove a child of this node.

Once the pointer to the removed node disappears from the stack, the removed node will be collected in the next GC pass, but only as long as its refcount is zero. You should keep a refcount of zero for all nodes in the document except for the document node itself, because they will be held in memory by the parent.

child The child to remove

Implemented in Inkscape::XML::SimpleNode, and Inkscape::XML::SimpleNode.

Referenced by sp_repr_unparent().

Generated by  Doxygen 1.6.0   Back to index