A.J.Brush aber hob zu reden an und schrieb:
> At the moment getting a dummy toolbar there is proving difficult!
> 
> the layout of my xul file is this
> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> <overlay id = "my overlay" 
> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>
>    <toolbar id="my bar">
>               <toolbarbutton id = "mybutton" label = "my button" />
>    </toolbar>
> </overlay>

(Are whitespaces allowed in IDs? Dunno, but I don't think so.)

You have to specify the element to get the new content overlayed by you,
e.g. the "navigator-toolbox" in the Mozilla main window:

<?xml version="1.0" encoding="iso-8859-1"?>
<overlay id = "myOverlay" xmlns="...foo...">
  <toolbox id = "navigator-toolbox">
    <toolbar id = "myBar">
      <toolbarbutton id = "mybutton" label = "my button" />
    </toolbar>
  </toolbox>
</overlay>


The XulPlanet tutorial <http://www.xulplanet.com/tutorials/xultu/> is
worth a read, especially
<http://www.xulplanet.com/tutorials/xultu/crosspov.html>.


Karsten
-- 
       Freiheit stirbt        |       Fsayannes SF&F-Bibliothek:
            Mit Sicherheit    |       http://fsayanne.tprac.de/
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to