Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

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.

Parameters:
childThe child to remove

Implemented in Inkscape::XML::SimpleNode.

Referenced by Inkscape::Preferences::migrate(), and sp_repr_unparent().

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index