- documented new feature -next
- option -parent is marked as for menus only - doumented special value _main_ for menu_set_main
This commit is contained in:
@@ -503,30 +503,43 @@
|
|||||||
The visible text of the item.
|
The visible text of the item.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
|
||||||
</para></listitem>
|
|
||||||
<listitem><para>
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>-is_hidden false|true (false)</term>
|
<term>-is_hidden false|true (false)</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If the item currently should not appear in a menu.
|
If the item currently should not appear in a menu.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
<varlistentry>
|
||||||
</para></listitem>
|
<term>-next <successor_id> ()</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
|
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
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>-parent <parentid> ()</term>
|
<term>_close_</term>
|
||||||
<listitem><para> (Re)sets the parent of this
|
<listitem><para>
|
||||||
menu. Parentid has to be of type menu. This
|
Equivalent to -menu_result close: Close
|
||||||
function does not change any menu (neither the
|
the menu.
|
||||||
old nor the new parent) since this option is
|
</para></listitem>
|
||||||
normally used with hidden menus. Otherwise use
|
</varlistentry>
|
||||||
menu_add/del_item. Applying this option is
|
<varlistentry>
|
||||||
equivalent to second argument of the menu_goto
|
<term>_quit_</term>
|
||||||
command. </para></listitem>
|
<listitem><para>
|
||||||
|
Equivalent to -menu_result quit: Quit
|
||||||
|
the menu system.
|
||||||
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>_none_</term>
|
||||||
|
<listitem><para>
|
||||||
|
Equivalent to -menu_result none: Keep
|
||||||
|
the item open.
|
||||||
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
@@ -708,7 +721,22 @@
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>menu</term>
|
<term>menu</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
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.
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>-parent <parentid> ()</term>
|
||||||
|
<listitem><para> (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. </para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
@@ -755,14 +783,28 @@
|
|||||||
Sets the entry point into the menu system. Use this to
|
Sets the entry point into the menu system. Use this to
|
||||||
make the server menu invisible. Note that you may only set
|
make the server menu invisible. Note that you may only set
|
||||||
the menu to your own clients menus unless the configure
|
the menu to your own clients menus unless the configure
|
||||||
option --permissive-menu-goto is used. (See menuscreens.c
|
option --enable-permissive-menu-goto is used. (See
|
||||||
for the menu ids of the server menus.)
|
menuscreens.c for the menu ids of the server menus.)
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><menu_id></term>
|
<term><menu_id></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
The new main menu, restricted to the client's own
|
The new main menu, restricted to the client's own
|
||||||
menus.
|
menus. Special values:
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>""</term>
|
||||||
|
<listitem><para>
|
||||||
|
The client's main menu.
|
||||||
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>"_main_"</term>
|
||||||
|
<listitem><para>
|
||||||
|
Resets main to the "real" main menu.
|
||||||
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|||||||
Reference in New Issue
Block a user