Menu (MenuMate)
Revision as of 01:58, 3 December 2008 by imported>Speedo (→Makeup)
A component of MenuMate.
The menu element defines the components of any menu. It should be the first element of any XML file.
Makeup
The menu element has two child elements:
- start - This defines the name of the dialog which will be shown first when the menu is load. The menu element must contain one (and only one) start definition.
- dialog - These elements define the names of the various dialogs used in the menu. There is no limit on them.
Example
Say we want to create a menu for a banking system. It will contain three dialogs: a main dialog, a dialog to make deposits, and a dialog to withdraw money. Our menu element would look something like:
<menu> <start>mainmenu</start> <dialog>makedeposit</dialog> <dialog>withdrawmoney</dialog> </menu>