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, alexandersalas, Nickolay, BenjaminSmedberg
Last updated by: Kastor,