Toolbar Configuration

From GeoGebraWiki

Jump to: navigation, search

How To Configure the ToolBar for a Specific Need

A similar appearance to the default ToolBar may be achieved explicitly by including the line

 <param name=customToolBar value="0 || 1 | 2 | 4 || 10 | 36 || 29 | 17 || 40">

image:configuring_toolbar_fixed.png
(The difference is that the small down-arrow on each button is now missing.)
Note: The spaces are required. Miss one out and the default ToolBar will be displayed instead.

This example should make the syntax clear.

  • Each icon is identified by a code number.
  • The single "|" separator leaves a minimal gap between the buttons.
  • The double "||" separator increases the gap and inserts a vertical divider.


Omitting the "|" or "||" separator causes a selection list ("menu") to be created.
The icons are displayed vertically downward in the listed order.
The first one is the initial default selection. The current selection is displayed with a down-arrow.
In the next example a selection list has been added to the Angle button.

 <param name=customToolBar value="0 || 1 | 2 | 4 || 10 | 36 46 , 38 25 , 47 || 29 | 17 || 40">

Another new feature here is the horizontal divider created by the inclusion of a "," (comma) in the list.
image:configuring_toolbar_tool_list.png

These examples have been based on the buttons in the default ToolBar for ease of description.
Obviously there is no reason to duplicate the default ToolBar.

But WebStart 2.7 offers complete flexibility to customise the ToolBar precisely for any individual purpose.

Personal tools