This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cmd:item [2012/03/29 13:19] mcb30 |
cmd:item [2012/03/29 13:20] mcb30 |
||
---|---|---|---|
Line 32: | Line 32: | ||
===== Description ===== | ===== Description ===== | ||
- | Add a menu item with the specified label and display text. If no menu is specified, the default (unnamed) menu will be used. If a key is specified, it will be used as the shortcut key for the menu item. If the ''%%--default%%'' option is specified, the menu item will become the default selection. If no label is provided or if the ''%%--gap%%'' option is specified, the menu item will function as a menu separator (which cannot ever be selected). | + | Add a menu item with the specified label and display text. If no menu is specified, the default (unnamed) menu will be used. If a key is specified, it will be used as the shortcut key for the menu item. If the ''%%--default%%'' option is specified, the menu item will become the default selection. If no label is provided or if the ''%%--gap%%'' option is specified, the menu item will function as a menu separator (which cannot be selected by the user). |
The label will not be displayed. It will be used by the ''[[:cmd:choose]]'' command to indicate the selection made by the user. | The label will not be displayed. It will be used by the ''[[:cmd:choose]]'' command to indicate the selection made by the user. |