Syntax of a toolbar file (.4tb)
A .4tb toolbar file is an XML file that holds a tree of elements defining a toolbar structure.
Syntax: XML Toolbar
<ToolBar [ toolbar-attribute="value" [...]] >
{ <ToolBarSeparator separator-attribute="value" [...] />
| <ToolBarItem item-attribute="value" [...] />
} [...]
</ToolBar>
- toolbar-attribute defines a property of the toolbar.
- item-attribute defines a property of the toolbar item.
Toolbar XML attributes
Attribute | Type | Description |
---|---|---|
style |
STRING |
Use to decorate the element with a presentation style. |
tag |
STRING |
User-defined attribute to identify the node. |
name |
STRING |
Identifies the toolbar. |
buttonTextHidden |
INTEGER |
Defines if the text of toolbar buttons must appear by default. |
Attribute | Type | Description |
---|---|---|
name |
STRING |
Identifies the action corresponding to the toolbar button. Can be prefixed with the sub-dialog identifier. |
style |
STRING |
Use to decorate the element with a presentation style. |
tag |
STRING |
User-defined attribute to identify the node. |
text |
STRING |
The text to be displayed in the toolbar button. |
comment |
STRING |
The message to be shown as tooltip when the user selects a toolbar button. |
hidden |
INTEGER |
Indicates if the item is hidden. |
image |
STRING |
The icon to be used in the toolbar button. |
Attribute | Type | Description |
---|---|---|
name |
STRING |
Identifies the toolbar separator. |
style |
STRING |
Use to decorate the element with a presentation style. |
tag |
STRING |
User-defined attribute to identify the node. |
hidden |
INTEGER |
Indicates if the separator is hidden. |