(menu.info)Section 8.2.1


Next: Section 8.2.2 Up: Section 8.2
Enter node , (file) or (file)node

8.2.1 Special variables
-----------------------

The following variables are treated in a special way by install-menus,
either because they are used for other purposes too, or because they are
modified by install-menus (the ones marked with a "!"  are modified by
install-menus).

needs:
     Used to determine whether the window manager supports this menu
     entry.

command:
     If this is undefined, this menu entry is taken as defining a
     sub-menu.  This way you can specify icons of sub-menus.

title!:
     Used for sorting (see section).  For sub-menu entries (those with
     empty command), this is initialised to the last part of the
     section.  Please, keep the title short (two words at maximum).  The
     title is for people who already know what program they want to
     start.  See "longtitle" and "description" below for longer
     descriptions.

sort:
     Used for sorting (see section).  To make sure an entry is at the
     beginning, use something with a low ASCII number, like "$".  For
     sorting at the end, use "|"

section!:
     Used to determine the section of the menu entry.  The menu entries
     that have a empty $command, ie those that define a submenu, have
     $title added to the end of $section The menu entries that have a
     non-empty $command have their $section modified to $section/$title,
     or $section/$sort:$title if $sort is defined.  The menu entries
     within one submenu are sorted according to $section.  If you want
     to retrieve the real section name, see the $basesection variable.

basesection!:
     Used to contain the *real* section name.  This is useful because
     $section will be changed to $section/$title in special cases (see
     above).  This causes a problem when you want to do parent($section)
     because you won't get the real parent section.  Instead you can use
     $basesection, which will never contain the title.

hotkey!:
     Modified to reflect what install-menus thinks is the most suitable
     hotkey for this menu entry.  The hotkey= in the menu entry file is
     taken as a suggestion, that could be overwritten if there is
     another entry with the same hotkey=.  To suggest two possible
     hotkeys for an entry use hotkey="ab", with "a" being the most
     preferred hotkey.


automatically generated by info2www version 1.2.2.9