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

nsresult nsIContent::SetText ( const nsAString aStr,
PRBool  aNotify 
) [inline]

Set the text to the given value. If aNotify is PR_TRUE then the document is notified of the content change. NOTE: For elements this always asserts and returns NS_ERROR_FAILURE

Reimplemented in nsGenericElement.

Definition at line 429 of file nsIContent.h.

References SetText().

    return SetText(aStr.BeginReading(), aStr.Length(), aNotify);

Generated by  Doxygen 1.6.0   Back to index