<action name="insertLeftAction" label="_L - ←"> <command name="insertString" parameter="←" /> </action> <action name="insertRightAction" label="_R - →"> <command name="insertString" parameter="→" /> </action> <action name="insertAlphaAction" label="_A - α"> <command name="insertString" parameter="α" /> </action> <action name="insertBetaAction" label="_B - β"> <command name="insertString" parameter="β" /> </action> <action name="insertGammaAction" label="_C - γ"> <command name="insertString" parameter="γ" /> </action> <menu name="arrowsMenu" label="_Arrows"> <action name="insertLeftAction" /> <action name="insertRightAction" /> </menu> <menu name="greekMenu" label="_Greek"> <action name="insertAlphaAction" /> <action name="insertBetaAction" /> <action name="insertGammaAction" /> </menu> <menu name="charactersMenu" label="_Characters"> <menu name="arrowsMenu" /> <menu name="greekMenu" /> </menu> <menuBar name="menuBar" insert="after editMenu"> <menu name="charactersMenu" /> </menuBar>
Define actions which insert the chosen special characters by wrapping an action around standard command " | |
Define the menu and its two submenus: the menu and the menu. | |
This inserts menu " |