toolbox
has one toolbar child for each toolbar.
toolbaritem
is a XUL container for other types of controls<window id="Test" title="My Window" orient="horizontal" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <toolbox> <toolbar id="nav-toolbar"> <toolbarbutton id="nav-users" label="Users"/> <toolbarbutton id="nav-groups" label="Groups"/> <toolbarbutton id="nav-events" label="Events" disabled="true"/> </toolbar> </toolbox> </window>The result is:
<window id="Test" title="My Window" orient="horizontal" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <toolbox> <toolbar id="nav-toolbar"> <toolbarbutton id="nav-users" label="Users"/> <toolbaritem> <textbox value="The text" cols="10"/> </toolbaritem> <toolbarbutton id="nav-events" label="Events"/> </toolbar> </toolbox> </window>The result is:
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence