menugroup
Defines a menu group. The menugroup is a container for menus. When a menugroup is displayed, child menus are displayed as tabbed elements within the container.
Syntax
<menugroup menuid="id" name="menu-group-name">
<menu/>
<menu/>
. . .
</menugroup>
Attributes
Attribute |
Values |
Restrictions |
Description |
menuid |
Integer |
Required |
Numeric ID for the menu group. This value must be only set once and not changed. menuid=0 corresponds to the openGear status menu menuid=1 corresponds to the openGear configuration menu |
name |
String |
|
Name of the menu group. |
Examples
The following example creates a menu group with two menus:
<menugroup menuid="0" name="Status">
<menu menuid="0" menustate="2" name="Status" staticid="0">
<param access="0" name="Card Status" oid="0x201"/>
<param access="0" name="Reference" oid="0x204"/>
</menu>
<menu menuid="1" menustate="2" name="Product Info" staticid="1">
<param access="0" name="Product" oid="0x105"/>
<param access="0" name="Name" oid="0x107"/>
<param access="0" name="Supplier" oid="0x102"/>
<param access="0" name="Software Rev" oid="0x10B"/>
</menu>
</menugroup>