|
|
The item descriptor
description
defines supplementary information to be displayed on the same line as the menu item.
You might want to use it to give your users a brief explanation of what an
item does.
This example shows how it is used.
menu="My First Menu" begrow=center begcol=30name="Run UNIX System V" action=unix-system
name="Find Modified Files" action=`find $HOME -mtime -7 -print > modfiles`nop description="contents changed in past 7 days" interrupt=false
name="Find Executable Files" action=`find $HOME -perm -100 -print > execfiles`nop oninterrupt=`message Partial output is in execfiles`nop
name="Exit My Application" action=exit
Menu.descrip: an example of the description descriptor
This menu definition file creates the following menu:
Menu.descrip: screen output
This is a single-column menu.
It will be a single-column menu even if the
rows
or
columns
descriptors are defined in an attempt to make it multi-column,
because when the
description
descriptor is explicitly defined, the
columns
descriptor is ignored.