How to write a Sidebar
To offer new sidebar content to BlueGriffon users, you have to distribute your application as an installable extension to BlueGriffon, a *.xpi file.
The application id for BlueGriffon is
{8fa6f1b4-7ed3-4895-bac6-01f1cc206ab3} .
How to register a new sidebar
Your extension should add elements to chrome://bluegriffon/content/main.xul through a XUL overlay :
- append a new
sidebaritemelement to<sidebaritems id="sidebaritems"> - that element must have an ID, unique in the ID name space of main.xul
- that element must have a
nameattribute, representing your sidebar content ; that sidebar should be a NAME ; it is recommended that the ID and that attribute have the same value - that element must have a
srcattribute, containing the URL of the document to be shown in your sidebar content; this is typically going to be a chrome URL in your XPI - that element can have a
titlecontaining a (possibly localized) string representing the sidebar item. That string will be used in the sidebar to list the available sidebar items or title the visible sidebar items. If absent, the value of thenameattribute is used.
Published on Tuesday, August 12 2008 by BlueGriffon



