Open main menu

CDOT Wiki β

Changes

How to make a Hello World application using XULRunner

4 bytes added, 15:55, 13 December 2006
Setting up the prefs.js file
The '''pref''' function needs to be passed in two arguementsarguments. In this scenario, this document provided an explaination on The following bullets will illustrate what those the two arguements areargument passed to the function pref() means:
:*'''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.
1
edit