Menu

Base Class: None

Derived Classes: None

Description

Allows commands to be activated from the drop down menus along the top of the Modeller application. Note the vital difference between a sub menu and a menu item. A sub menu can contain menu items and/or other sub menus. Menu items can be clicked on to invoke functionality. Take care when removing Modeller's default sub menus and menu items - they are difficult to reintroduce. Menu items, once added, can subsequently be added removed and recreated at will. Adding your own menu items allows you to conveniently invoke Modeller LPI functionality

Available Functions:
 appendItem(itemText, command, [helpString], [sessionFile])
 appendMenu(menuText)
 appendSeparator()
 count()
 enableItem(itemText, isEnable)
 exists(menuText)
 getSubMenu(menuText)
 insertItem(beforeItem, itemText, command, [helpString], [sessionFile])
 insertMenu(beforeItem, menuText)
 insertSeparator(beforeItem)
 isMenu(menuText)
 remove(menuText)
 removeAllSeparators()
 removeSeparator(beforeItem)
 renameItem(itemText, newItemText)

Back to Overview