DojoContextMenu widget

The DojoContextMenu widget creates a context menu that is invoked by a right-mouse click.

Fields

children
Contains an array of DojoMenuItem records; each record represents a choice on the menu.
text
The text label for the menu box
targets
An array of Box widgets

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.DojoContextMenu;