2.207 .menu

.menu is the identifier of the menu related to an object. It appears as pop-up menu.

Definition

  • Data type

    object

  • Access

    get, set

  • changed event

    yes

Note for IDM with Windows

Popup menus may also be opened via the system menu key (for Windows this is the Alt key). If you want to open the window menu directly, you should use the F10 key.

Note for DM with Motif

As of Motif 2.1, popup menus can be opened here by default for all object classes with the key combination Shift + F10 .

It is not possible to attach a pop-up menu to the object rectangle. The attribute .menu is ignored for that object in the Motif version.

See also

Attribute .menu[integer]

Method :openpopup()