VASSAL Reference Manual

Home > Module > Toolbar Menu


Toolbar Menu

The Toolbar Menu component lets you group buttons from the Toolbar of the main Module window or a Map window into a drop-down menu. Each button named in this component will be removed from the Toolbar and instead appear as a menu item in the drop-down menu.

Description:

A brief description for your own use.

Button text:

The text of the new button to be added to the Toolbar. Clicking the button will reveal the drop-down menu.

Tooltip text:

Tooltip text for the new Toolbar button.

Button Icon:

Icon for the new Toolbar button.

Hotkey:

Keystroke or Named Command for revealing the drop-down menu.

Menu Entries:

Enter the exact Button Text of the Toolbar buttons that you wish to move to the drop-down menu. The menu item will have the same text. If the button uses an icon, the menu item will also use it. The items moved to the drop-down menu will appear in the order they are listed.

Note
You must use the Button Text of the buttons, not a Hotkey Named Command.

ToolbarMenuExample

Example of a Toolbar Menu with a submenu.

ToolbarMenu

The corresponding Toolbar Menu configuration.