DojoMenu widget

Along with one or more DojoMenuItem widgets, the DojoMenu widget creates menu items. To create complex menus, you can nest the DojoMenu and DojoMenuItem widgets.

Fields

children
A list of records that contain information to add to the menu. Specify as children=(list_name as any[]), where list_name is the name of the array.
text
The text label for the menu box

Events

onMenuItemSelected
The event that is called when a menu item is selected

Other supported fields and functions are described in the following topics in the EGL Programmer’s Guide: “Rich UI widget fields” and ”Rich UI widget functions.”

Use of this widget requires the following statement:
import dojo.widgets.DojoMenu;