label

Purpose

Defines a menu label.

Contained by

Attribute groups

Example

The welcome.mlyt layout can be found in the MCS/repository/xml-repository directory.

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="menu">
  <menu pane="congratulations" title="Menu">
    <label>Main Menu</label>
    <menuitem href="home.xml" text="Home"/>
    <menuitem href="specials.xml" text="Special Offers"/>
  </menu>
  <pane name="background">
    <p>Welcome</p>
  </pane>
</canvas>

Related topics