MENU-MOUSE attribute

(Graphical interfaces only)

The mouse button on a three-button mouse that activates the pop-up menu for a widget.

Data type: INTEGER

Access: Readable/Writeable

Applies to: BROWSE widget, BUTTON widget, COMBO-BOX widget, DIALOG-BOX widget, EDITOR widget, FILL-IN widget, FRAME widget, RADIO-SET widget, SELECTION-LIST widget, SLIDER widget, TOGGLE-BOX widget, WINDOW widget

The following table lists each mouse button and the attribute value that specifies it as the pop-up menu button.

Pop-up menu button
Mouse button Attribute value
Left 1
Middle 2
Right 3

If you use a two-button mouse, setting this attribute to "2" makes it impossible to access the menu with your mouse. If you do not set this attribute, it returns the Unknown value (?).