1
edit
Changes
→Setting up the prefs.js file
== Setting up the prefs.js file ==
The prefs.js file tells XULRunner which XUL file contains the main window. The following was used for this simple application.
pref("toolkit.defaultChromeURI", "chrome://myapp/content/main.xul");
'''toolkit.defaultChromeURI''' is a preferences which allows a simple XULRunner-based application to open a new window
'''"chrome://myapp/content/main.xul"''' is the location of the main XUL file.
== Creating some XUL ==