Menu bars

Components: menubar, menupopup, menu, menuitem and menuseparator.

A menu bar contains a collection of menu items and sub menus. A sub menu contains a collection of menu items and other sub menus. They, therefore, constructs a tree of menu items that user could select to execute.

An example of menu bars is as follows.

<menubar>
    <menu label="File">    
        <menupopup>        
            <menuitem label="New"/>            
            <menuitem label="Open"/>            
            <menuseparator/>            
            <menuitem label="Exit"/>            
        </menupopup>        
    </menu>    
    <menu label="Help">    
        <menupopup>        
            <menuitem label="Index"/>            
            <menu label="About">            
                <menupopup>                
                    <menuitem label="About ZK"/>                    
                    <menuitem label="About Potix"/>                    
                </menupopup>                
            </menu>            
        </menupopup>        
    </menu>    
</menubar>