4.2.2. Usage

(cx-add-hitem menu item mnemonic)

ArgumentTypeDescription
menustringThe name of the menu that you are adding the submenu to
itemstringThe name of the submenu you are adding
mnemoniccharWhen you hold Alt and press this button while the menu is already open this submenu will open

Note:  Mnemonics are normally not used in submenus because once you use a mnemonic to open the parent menu you can use the arrow keys to navigate the various submenus. If you don’t want to have a mnemonic for your submenu use #f for the mnemonic parameter.



Note:  The names of menus and submenus should be unique to avoid conflict when adding menu items. If two menus/submenus of the same name do exist, a menu item being added to that name will be added to the last menu/submenu to be created.



Release 18.2 - © ANSYS, Inc. All rights reserved.