Menu files

Overview: menu files

The top of the emulation window typically contains the menu bar. The structure of this this menu system can be customized as required:

The structure of the settings file is described here for your reference. However, we recommend that you always make changes using the menu editor:

The menu system of the LogWeb/Ajax terminal emulation is implemented as a JavaScript application (as are all components). The menu file structure is described in the following:

Menu bar: lwh.menu.bar

The menu item lwh.menu.bar contains the main menu.

Context menu: lwh.menu.main

The menu item lwh.menu.main contains the context menu; the structure is the same as that of the main menu.

Submenus: lw.Menu and lw.Menu.makeLink

The structure and the use of submenus are described in the menu bar section.

Menu actions: lw.Menu.makeAction(text, action)

Usually, menus not only contain links to submenus, but they also define actions that are performed if selected by the user.

Specific GUI elements in the menus

In addition to simple actions, specific GUI elements are specified in the menus. You usually do not need detailed knowledge about this functions: you can simply comment out existing links or actions or reassemble them as required.