toolkit.singletonWindowType

Preference

Type: String
Specified by: default prefs of XULRunner applications
Default: none
Example: pref("toolkit.singletonWindowType", "xulmine");

By default, theĀ toolkit.defaultChromeURI preference will cause XULRunner to open a new main application window each time an application is invoked. The toolkit.singletonWindowType preference causes XULRunner to search for a window with the attribute windowtype as specified in this preference (e.g. <window windowtype="xulmine"> in our example). If such a window is found, it will be re-used, otherwise a new window will be opened. More information on this can be found in bugĀ 317811.

See also: XULRunner:Specifying Startup Chrome Window, toolkit.defaultChromeFeatures

Document Tags and Contributors

 Contributors to this page: Kastor, ajsb85, Nickolay, bsmedberg
 Last updated by: Kastor,