Changes

Jump to: navigation, search

How to do an application using XULRunner

398 bytes added, 21:07, 22 October 2006
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 ==
1
edit

Navigation menu