@mozilla.org/appshell/appShellService;1

This component implements the following interfaces:

Constants

PRUint32 nsIAppShellService.eConsiderQuit = 1
PRUint32 nsIAppShellService.eAttemptQuit = 2
PRUint32 nsIAppShellService.eForceQuit = 3
Create a window.
PRInt32 nsIAppShellService.SIZE_TO_CONTENT = -1

Properties

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.

readonly nsINativeAppSupport nsIAppShellService.nativeAppSupport

Getter for "native app support."

Methods

InterfaceMethod
nsIAppShellService void closeTopLevelWindow ( nsIXULWindow window )
nsIAppShellService [noscript] void createHiddenWindow ( )
nsIAppShellService PRBool createStartupState ( PRInt32 windowWidth , PRInt32 windowHeight )
nsIAppShellService nsIXULWindow createTopLevelWindow ( nsIXULWindow parent , nsIURI url , PRBool showWindow , PRBool loadDefaultPage , PRUint32 chromeMask , PRInt32 initialWidth , PRInt32 initialHeight )
nsIAppShellService void doProfileStartup ( nsICmdLineService cmdLineService , PRBool canInteract )
nsIAppShellService void ensure1Window ( nsICmdLineService cmdLineService )
nsIAppShellService void enterLastWindowClosingSurvivalArea ( )
nsIAppShellService void exitLastWindowClosingSurvivalArea ( )
nsIAppShellService [noscript] void getHiddenWindowAndJSContext ( out nsIDOMWindowInternal hiddenDOMWindow , out JSContext* JSContext )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIAppShellService void hideSplashScreen ( )
nsIAppShellService void initialize ( nsICmdLineService cmdLineService , nsISupports nativeAppSupportOrSplashScreen )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIAppShellService void quit ( PRUint32 ferocity )
nsIAppShellService void registerTopLevelWindow ( nsIXULWindow window )
nsIAppShellService void run ( )
nsIAppShellService void topLevelWindowIsModal ( nsIXULWindow window , PRBool modal )
nsIAppShellService void unregisterTopLevelWindow ( nsIXULWindow window )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com