Attribute | Mand. | Description | Default |
id | no | Identifier of the menu. | |
template | no | MENU.template | |
label | yes | Text of the menu. | |
controller | no | Reference of the controller that manages the menu (i.e. handles user demands and refresh content). | |
enabled | no | Indicates whether the menu is enabled or not (true if it is enabled). | true |
font | no | MENU.font | |
color | no | MENU.color | |
fontColor | no | MENU.fontColor |
<!ELEMENT MENU (ITEM | SEP | MENU)*> |
Element | Mand. | Mult. | Description |
ITEM | yes | no | Menu entries contained in the menu. |
SEP | yes | no | Sepator used to organize entries within the menu. |
MENU | yes | no | Sub-menus of the menu. |
<!-- Menu containing 2 menu entries --> <MENU label="File"> <ITEM id="LY_ACTION_PRINT" label="Print"/> <ITEM id="LY_ACTION_CLOSE" label="Close"/> </MENU> |