Open main menu

CDOT Wiki β

Changes

How to do an application using XULRunner

156 bytes added, 21:21, 22 October 2006
m
Setting up the prefs.js file
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
The '''pref''' function needs to be passed in two arguements. In this scenario, this document provided an explaination on what those two arguements are::*'''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