Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsINonBlockingAlertService Interface Reference

This is the interface to the embeddable non-blocking alert service. More...

import "nsINonBlockingAlertService.idl";

Inheritance diagram for nsINonBlockingAlertService:
Inheritance graph
[legend]
Collaboration diagram for nsINonBlockingAlertService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void showNonBlockingAlert (in nsIDOMWindow aParent, in wstring aDialogTitle, in wstring aText)
 This shows a non-blocking alert with the specified title and message text.

Detailed Description

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.

Definition at line 52 of file nsINonBlockingAlertService.idl.


Member Function Documentation

void nsINonBlockingAlertService::showNonBlockingAlert ( in nsIDOMWindow  aParent,
in wstring  aDialogTitle,
in wstring  aText 
)

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.

Parameters:
aParentThe parent window. This must not be null.
aDialogTitleText to appear in the title of the alert.
aTextText to appear in the body of the alert.

The documentation for this interface was generated from the following file: