Tool Bar Primitives

Several primitives let you manipulate the
tool bar. They only operate in the Windows GUI version. The
toolbar_create( ) primitive creates a new, empty tool bar.
The toolbar_destroy( ) primitive hides the tool bar, deleting
its contents. The toolbar_add_separator( ) primitive adds a
blank space between buttons to the end of the tool bar.

The toolbar_add_button( ) primitive adds a new button to the
end of the tool bar. The cmd parameter contains the name of an
EEL function to run. The help parameter says what "tool tip"
help text to display, if the user positions the mouse cursor over the
button. The icon parameter specifies which icon to use. In this
version, it must be one of these standard names: