toolbarpalette

Table of contents

  1. 1. Examples
  2. 2. Attributes
  3. 3. Properties
  4. 4. Methods
  5. 5. Related
Table of contents
  1. 1. Examples
  2. 2. Attributes
  3. 3. Properties
  4. 4. Methods
  5. 5. Related
« XUL Reference home    [ Examples | Attributes | Properties | Methods | Related ]

Firefox only

The item is a palette of available toolbar items. It is not displayed, but is used by the toolbar customization dialog to display the list of items. The children of the toolbarpalette should be the complete list of toolbarbutton s and toolbaritem s that can be added to the toolbar. Do not add the various spacing items, as those are added automatically.

You can add your own custom buttons to the Firefox browser by using an overlay that overlays the toolbarpalette with the id BrowserToolbarPalette.

Examples

<toolbarpalette id="BrowserToolbarPalette">
  <toolbarbutton id="toolbarpalette-button" 
                 class="toolbarbutton-class"
                 label="&mylabel;"
                 tooltiptext="&mytiptext;"
                 oncommand="somefunction()"/>
</toolbarpalette>

Tags (5)

Edit tags

Attachments (0)

 

Attach file