From 759e607737acb4ab2761faa974ae38b7870e9634 Mon Sep 17 00:00:00 2001 From: boercher Date: Wed, 1 Jun 2005 22:46:03 +0000 Subject: [PATCH] - documented new feature -next - option -parent is marked as for menus only - doumented special value _main_ for menu_set_main --- docs/lcdproc-dev/language.docbook | 84 +++++++++++++++++++++++-------- 1 file changed, 63 insertions(+), 21 deletions(-) diff --git a/docs/lcdproc-dev/language.docbook b/docs/lcdproc-dev/language.docbook index 3efa74b..21d7a62 100644 --- a/docs/lcdproc-dev/language.docbook +++ b/docs/lcdproc-dev/language.docbook @@ -503,30 +503,43 @@ The visible text of the item. - - - - -is_hidden false|true (false) If the item currently should not appear in a menu. - - - - - -parent <parentid> () - (Re)sets the parent of this - menu. Parentid has to be of type menu. This - function does not change any menu (neither the - old nor the new parent) since this option is - normally used with hidden menus. Otherwise use - menu_add/del_item. Applying this option is - equivalent to second argument of the menu_goto - command. + -next <successor_id> () + + Sets the menuitem to show after closing this + Item. Parentid has to be of a non-menu type that + has its own screen, e.g., not a + checkbox. Special values are + + + _close_ + + Equivalent to -menu_result close: Close + the menu. + + + + _quit_ + + Equivalent to -menu_result quit: Quit + the menu system. + + + + _none_ + + Equivalent to -menu_result none: Keep + the item open. + + + + @@ -708,7 +721,22 @@ menu - This is a submenu. It is visible as a text, with an appended '>'. When selected, the submenu becomes the active menu. + This is a submenu. It is visible as a text, with an + appended '>'. When selected, the submenu becomes the + active menu. + + + -parent <parentid> () + (Re)sets the parent of this + menu. Parentid has to be of type menu. This + function does not change any menu (neither the + old nor the new parent) since this option is + normally used with hidden menus. Otherwise use + menu_add/del_item. Applying this option is + equivalent to second argument of the menu_goto + command. + + @@ -755,14 +783,28 @@ Sets the entry point into the menu system. Use this to make the server menu invisible. Note that you may only set the menu to your own clients menus unless the configure - option --permissive-menu-goto is used. (See menuscreens.c - for the menu ids of the server menus.) + option --enable-permissive-menu-goto is used. (See + menuscreens.c for the menu ids of the server menus.) <menu_id> The new main menu, restricted to the client's own - menus. + menus. Special values: + + + "" + + The client's main menu. + + + + "_main_" + + Resets main to the "real" main menu. + + +