manual:chapter7:custmenu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
manual:chapter7:custmenu [2021/10/12 15:25]
jojo1973 [An example: 3-levels menu template]
manual:chapter7:custmenu [2022/01/18 07:29]
claudio [Creating customized menus]
Line 1: Line 1:
 ===== Creating customized menus ===== ===== Creating customized menus =====
-The menu engine in **newRPL** retains the basic concepts of the one used in **userRPL** but provides new features such as help messages and dynamical menu appearance.+The menu engine in **newRPL** retains the basic concepts of the one used in **userRPL** but provides new features such as help messages and dynamic menu appearance.
  
 The most important command used to display a custom menu is ''[[manual:chapter6:flags:cmd_tmenu|TMENU]]'' which displays the menu on the [[manual:chapter2:menus#using-the-menus-main-active-and-secondary-menus|active menu]] area. It accepts either an integer or a list: the former is used to display a preset [[manual:appendix:menus|system menu]] but here we will discuss about the latter, which allows to display a full customized menu. The most important command used to display a custom menu is ''[[manual:chapter6:flags:cmd_tmenu|TMENU]]'' which displays the menu on the [[manual:chapter2:menus#using-the-menus-main-active-and-secondary-menus|active menu]] area. It accepts either an integer or a list: the former is used to display a preset [[manual:appendix:menus|system menu]] but here we will discuss about the latter, which allows to display a full customized menu.
Line 62: Line 62:
 === The ACTION object === === The ACTION object ===
  
-The ''<Action>'' object can be either a single object, a three or a five elements list; if it is a single object:+The ''<Action>'' object is optional and can be either a single object, a three or a five elements list; if it is a single object:
  
   * A **command** or **operator** will be ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]'''ted or its name will be inserted in the editor if the command line is active;   * A **command** or **operator** will be ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]'''ted or its name will be inserted in the editor if the command line is active;
  • manual/chapter7/custmenu.txt
  • Last modified: 2022/01/18 07:29
  • by claudio