toolbar - Toggle tool bar visibility.
toolbar-open - Open the tool bar.
toolbar-close - Close the tool bar
toolbar-refresh - Update the tool bar
The toolbar is one or more fixed buffers that typically appear at the left-hand edge of the window that contains different tools that assist in editing the buffer. The toolbar is really a container for tools and short cuts which are configured by the user depending on the tool that has been loaded. The tools themselves are buffer context sensitive, the buffer-init(3) command automatically re-configures the toolbar for the buffer at run time.
The configuration of the toolbar is stored in command variables .toolvar.* which are used to control the toolbar. The tools that are available in toolbar are determined from the file toollist.emf which is loaded when the toolbar is started. User defined toolbars may be added by redefinging the toolbar variables at runtime.
toolbar toggles the visibility of the toolbar, i.e. if the toolbar is open it is closed and vica versa. If the numeric argument n is specified then zero closes the toolbar and non-zero opens the toolbar. toolbar-open initializes and starts the toolbar if it is not already running. The toolbar is loaded and instantiated in the system. The toolbar may be subsequently closed using toolbar-close. Whilst the toolbar is running then the content of the tollbar may become out of date, the command toolbar-refresh(3) forces the toolbar to be re-evaluated and the content is updated.
The toolbar is configured with command variables .toolbar.*. The size information of the toolbar is defined with the following variables:-
The tools within the toolbar are configured with the following variables. Each variable is divided into fields, each field represents a single tool. The fields are separated with the \CH character. The order of the fields MUST be the same in each of the variables such that the field content matches the tool that is being defined.
0x000001 - Update on creation
0x000002 - Update on redraw
0x000004 - Buffer type changed
0x000008 - Current buffer changed
0x000010 - Current buffer modified or saved
0x000080 - Perform update checks
0x000100 - Lock depth and width
0x000200 - Tool uses a paged window
0x000400 - Tool is hidden
0x000800 - Tool paged window, not first user.
0x001000 - position in the left toolbar
0x002000 - position in the top toolbar
0x004000 - position in the right toolbar
0x008000 - position in the bottom toolbar
0x010000 - Include buffer type in mode-line (Prefix)
0x020000 - Include buffer name in mode-line (suffix)
0x040000 - Include buffer filename in mode-line (suffix)
0x100000 - Restore window location after an update
0x200000 - Move position to beginning of buffer after an update
Notable toolbox macro files:-
Copyright (c) 1998-2006 JASSPA
Last Modified: 2006/08/21
Generated On: 2006/10/07