DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Frame definition files

Providing supplementary information for menu items

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=30
   

name="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.


Next topic: Displaying an item message
Previous topic: Menu.oninterr: a further example of interrupt handling

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004