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.

@mozilla.org/appshell/appShellService;1

This component implements the following interfaces:

Constants

Create a window, which will be initially invisible.
PRInt32 nsIAppShellService.SIZE_TO_CONTENT = -1

Properties

readonly PRBool nsIAppShellService.applicationProvidedHiddenWindow

Return true if the application hidden window was provided by the application. If it wasn't, the default hidden window was used. This will usually be false on all non-mac platforms.

readonly nsIDOMWindowInternal nsIAppShellService.hiddenDOMWindow

Return the (singleton) application hidden window, automatically created and maintained by this AppShellService.

readonly nsIXULWindow nsIAppShellService.hiddenWindow

Return the (singleton) application hidden window, automatically created and maintained by this AppShellService.

Methods

InterfaceMethod
nsIAppShellService [noscript] void createHiddenWindow ( nsIAppShell appShell )
nsIAppShellService nsIXULWindow createTopLevelWindow ( nsIXULWindow parent , nsIURI url , PRUint32 chromeMask , PRInt32 initialWidth , PRInt32 initialHeight , nsIAppShell appShell )
nsIAppShellService void destroyHiddenWindow ( )
nsIAppShellService [noscript] void getHiddenWindowAndJSContext ( out nsIDOMWindowInternal hiddenDOMWindow , out JSContext* JSContext )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIAppShellService void registerTopLevelWindow ( nsIXULWindow window )
nsIAppShellService void topLevelWindowIsModal ( nsIXULWindow window , PRBool modal )
nsIAppShellService void unregisterTopLevelWindow ( nsIXULWindow window )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com