Toolbar XML
Format of customized toolbar .xml files.
XML Overview
The toolbar.xml
allows for additional plugin features to be loaded
through included .xml files. It references to all of the
required resources by relative paths.
Tags
root
- Attributes
- none
- Children
- toolbar
toolbar
- Attributes
- name, value
- Children
- item
item
- Attributes
- name, value
- Children
- none
Options
location
Location of the toolbar (lef, right, bottom)
actiontag
Reference to the action defined in the actionlist
- Example XML
-
<root> <include src="../mv-actions.xml" /> <toolbar tag="Ext_Toolbar_MV" location="left"> <item actiontag="Ext_Toolbar_ScreeshotMV1"/> <item actiontag="Ext_Toolbar_ScreeshotMV2"/> </toolbar> <toolbar tag="MDL_Vortex_Toolbar" location="left"> <item actiontag="MDL_Vortex_Settings"/> <item actiontag="MDL_Vortex_Export_Deck"/> </toolbar> </root>
- Include my-actions.xml file:
-
<root> <actionlist> <action tag="MDL_Vortex_Settings" tooltip="Settings" image="ribbonVortexSettingsStrip-80.png" command="py: Extension_multiclient_test_HM_HV_MV_HG_final.pyscript.test()"/> <action tag="MDL_Vortex_Export_Deck" tooltip="Export Deck" image="ribbonVortexExportDeckStrip-80.png" command="tcl: ::Vortex::ExportDeck"/> <action tag="Ext_Toolbar_ScreeshotMV1" tooltip="Save image to clipboard" image="save_to_clipboard_toolbar.png" command="tcl: ::Vortex::ToClipboardMV"/> <action tag="Ext_Toolbar_ScreeshotMV2" tooltip="Save image to file" image="save_to_file_toolbar.png" command="tcl: ::Vortex::ToFileMV"/> </actionlist> </root>