Menuitem class describes a single menu item. You can use all of the gadtools menus features expect image menus here.
Since Menuitem class is a subclass of Family class, you can add other menu items as children of a menu item to indicate sub menus. MUI does not limit the level of sub menus, but the operating system currently allows a maximum nesting level of one. Because of this, children of menu items should not contain other menu items for now, the results are unpredictable.
Menuitems must always be embedded inside a
which in turn have to be embedded inside a
See Menustrip class for details.
Please note that the XML tag for menuitem class is just
See Menustrip class for an example.