Search completed in 0.83 seconds.
9 results for "toolkit.singletonWindowType":
toolkit.singletonWindowType - Archive of obsolete content
ArchiveMozillaXULRunnertoolkit.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.
Index - Archive of obsolete content
ArchiveIndex
ult prefs of xulrunner applications default: "chrome,dialog=no,all" example: pref("toolkit.defaultchromefeatures", "chrome,resizable=no,dialog=no"); 1988 toolkit.defaultchromeuri preferences, xulrunner type: string specified by: default prefs of xulrunner applications default: none example: pref("toolkit.defaultchromeuri", "chrome://myapp/content/"); 1989 toolkit.singletonwindowtype preferences, xulrunner preference 1990 xulauncher no summary!
Index of archived content - Archive of obsolete content
ArchiveIndex of archived content
1.8.0.4 release notes xulrunner 1.9 release notes xulrunner 1.9.1 release notes xulrunner 1.9.2 release notes xulrunner 2.0 release notes xulrunner faq xulrunner hall of fame xulrunner tips xulrunner/old releases toolkit.defaultchromefeatures toolkit.defaultchromeuri toolkit.singletonwindowtype xulauncher ant script to assemble an extension application/http-index-format specification calicalendarview calicalendarviewcontroller califiletype mozilla.dev.platform faq reftest opportunities files symsrv_convert xbdesignmode.js archi...
CommandLine - Archive of obsolete content
ArchiveMozillaXULRunnerCommandLine
an nsicommandline object is passed as the first argument of the launched window: example var cmdline = window.arguments[0]; cmdline = cmdline.queryinterface(components.interfaces.nsicommandline); alert(cmdline.handleflagwithparam("test", false)); see also: chrome: command line for single instance applications of course, for a single instance application (see toolkit.singletonwindowtype for more information), the last example still applies the first time your application is launched.
Getting started with XULRunner - Archive of obsolete content
ArchiveMozillaXULRunnerGetting started with XULRunner
toolkit.singletonwindowtype allows configuring the application to allow only one instance at a time.
MacFAQ - Archive of obsolete content
ArchiveMozillaXULRunnerMacFAQ
s" /> <script><![cdata[ function debug(alogstring) { var mconsoleservice = components.classes["@mozilla.org/consoleservice;1"] .getservice(components.interfaces.nsiconsoleservice) mconsoleservice.logstringmessage("myxul: " + alogstring + "\n"); } function checkotherwindows() { var singletonwindowtype = nspreferences.copyunicharpref("toolkit.singletonwindowtype"); var windowmediator = components.classes["@mozilla.org/appshell/window-mediator;1"] .getservice(components.interfaces.nsiwindowmediator); var win = windowmediator.getmostrecentwindow(singletonwindowtype); if (win) { window.close(); win.focus(); } } if (window.arguments && window.arguments[0]){ try { va...
Specifying Startup Chrome Window - Archive of obsolete content
ArchiveMozillaXULRunnerSpecifying Startup Chrome Window
an application wishing to have only one main window should set the toolkit.singletonwindowtype preference and specify the windowtype attribute on the main application window.
toolkit.defaultChromeFeatures - Archive of obsolete content
ArchiveMozillaXULRunnertoolkit.defaultChromeFeatures
see also: xulrunner:specifying startup chrome window, dom:window.open, toolkit.defaultchromeuri, toolkit.singletonwindowtype.
toolkit.defaultChromeURI - Archive of obsolete content
ArchiveMozillaXULRunnertoolkit.defaultChromeURI
see also: xulrunner:specifying startup chrome window, toolkit.defaultchromefeatures, toolkit.singletonwindowtype.