WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsINonBlockingAlertService

IID:E800EF97-AE37-46B7-A46C-31FBE79657EA
Inherits From:nsISupports

This is the interface to the embeddable non-blocking alert service. A non-blocking alert is a less serious informative alert that does not need to block the program's execution to get the user's response.

The way to present the alert is left to the implementations. It may be a dialog separate from the parent window, or a window-modal sheet (as the ones in Mac OS X) attached to the parent.

This interface is intended to be used as a service.

This interface is implemented by the following components:


Methods

void showNonBlockingAlert ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text )

void showNonBlockingAlert ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text )

This shows a non-blocking alert with the specified title and message text. This function requires a valid parent window with which the alert is associated.

Arguments:
parent: The parent window. This must not be null.
dialogTitle: Text to appear in the title of the alert.
text: Text to appear in the body of the alert.

Reference documentation is generated from Mozilla's source.