EditLive! 9 Documentation : toolbarButton

This element will cause a particular button to be present on the toolbar within EditLive!.

Configuration Element Tree Structure

<editLive>
<toolbars>
<toolbar>
<toolbarButton>

<editLive>
     ...
     <toolbars>
          <toolbar>
               <toolbarButton ... />
          </toolbar> 
     </toolbars>
     ...
</editLive>

Required Attributes

name

This attribute gives the name for the button. A list of possible toolbar button items and their associated name attributes can be found in the Menu and Toolbar Item List.

Example

The following example demonstrates how to add the Cut, Copy, and Paste buttons to the Command Toolbar.

<editLive>
    ...
    <toolbars>
        <toolbar name="command">
            <toolbarButton name="Cut"/>
            <toolbarButton name="Copy"/>
            <toolbarButton name="Paste"/>
        </toolbar>
    </toolbars>
    ...
</editLive>

Remarks

The <toolbarButton> element can appear multiple times within the <toolbar> elements.

The <toolbarButton> element must be a complete tag; it cannot contain a tag body. Therefore, the tag must be closed in the same line. See the example below:

<toolbarButton name=... />