mozilla

Revision 346441 of toolkit.singletonWindowType

  • Revision slug: toolkit.singletonWindowType
  • Revision title: toolkit.singletonWindowType
  • Revision id: 346441
  • Created:
  • Creator: alexandersalas
  • Is current revision? No
  • Comment

Revision Content

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.defaultChromeURI

Revision Source

<p><b>Preference</b></p>
<p>Type: String<br />
  Specified by: default prefs of <a href="en/XULRunner">XULRunner</a> applications<br />
  Default: <i>none</i><br />
  Example: pref("toolkit.singletonWindowType", "xulmine");</p>
<p>By default, the <a href="en/Toolkit.defaultChromeURI">toolkit.defaultChromeURI</a> 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. &lt;window windowtype="xulmine"&gt; 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) }}.</p>
<p>See also: <a href="en/XULRunner/Specifying_Startup_Chrome_Window">XULRunner:Specifying Startup Chrome Window</a>, <a href="en/Toolkit.defaultChromeURI">toolkit.defaultChromeURI</a></p>
Revert to this revision