Previous Page Index Next Page

The Templates file

Most templates file contain 4 standard window templates with the following case sensitive names.

NameDescription
Tools The full toolbar including buttons and URL area
UTools The toolbar with just the URL area
WTools The toolbar with just the buttons
InfoBar The one and only infobar layout

Toolbar templates

A few rules for toolbars

The best way to avoid breaking the rules is to start by crating the full toolbar, then copy it twice and create the two other versions by moving and resizing the existing icons.

Tri state icons

Each icon on the toolbar has three states with the following names (The back button is used as an example

NameDescription
backThe normal icon that's shown when what the button represents is possible
pbackThe pressed versionof the button
shbackThe shaded version of the button that is shown when what the button represents is not possible

You should be able to use any icon names you like in the toolbar file for the normal icon provided you have versions prefixed with p and sh.

InfoBar layout

There's nothing special about the infobar template. One icon should be large to fit the text in, but other than that you can put in what you like.


Andrew Pullan,