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

virtual nsresult nsINode::RemoveChildAt ( PRUint32  aIndex,
PRBool  aNotify 
) [pure virtual]

Remove a child from this node. This method handles calling UnbindFromTree on the child appropriately.

aIndex the index of the child to remove
aNotify whether to notify the document (current document for nsIContent, and |this| for nsIDocument) that the remove has occurred
Note: If there is no child at aIndex, this method will simply do nothing.

Implemented in nsGenericElement, nsHTMLOptGroupElement, and nsHTMLSelectElement.

Referenced by nsGenericElement::doRemoveChild(), and nsGenericElement::doReplaceOrInsertBefore().

Generated by  Doxygen 1.6.0   Back to index