Home > Element Reference : Toolbox

Contents

### Toolbox

A container for toolbars. It is a type of box but defaults to vertical orientation. If a toolbar is placed inside a toolbox, a grippy is displayed on its left or upper edge. The user may click the grippy to collapse the toolbar. If multiple toolbars are placed in the same toolbox, they will all collapse into the same row. The Phoenix browser does not have grippies and toolbars cannot be collapsed and expanded.

More information about Toolbox

#### Attributes:

Attributes inherited from XUL Element

iconsize Phoenix

The size of the icons on the toolbar buttons. Use the value 'small' for small icons or leave out for large icons.

mode Phoenix

The button display mode on the toolbars, which indicates whether text, icons or both are displayed.

- icons: Only icons are displayed.
- text: Only labels are displayed.
- full: Both icons and labels are displayed.

#### Properties and Methods:

Properties and Methods inherited from XUL Element

appendCustomToolbar ( name , currentset ) Phoenix

Adds a custom toolbar to the toolbox with the given name. You can supply a comma-separated list of toolbar item ids as the second argument to add some items by default.

collapseToolbar ( toolbar ) Not in Phoenix

Collapse the given toolbar which should be contained in the toolbox.

customToolbarCount Phoenix

The number of custom toolbars currently within the toolbox.

expandToolbar ( toolbar ) Not in Phoenix

Expand the given toolbar which should be contained in the toolbox.

palette Phoenix

The toolbarpalette within the toolbox.

toolbarset Phoenix

The toolbarset within the toolbox.

Copyright (C) 1999 - 2002 XULPlanet.com