Purpose

This node shows a menu of vertically arranged SoMenuItem items when the user pressed the configured mouse button.

Interaction

The default mouse button is the right mouse button. This can be overridden with SoInteractionMapping.

Windows

Default Panel

../../../Modules/Inventor/SoMenu/mhelp/Images/Screenshots/SoPopupMenu._default.png

Output Fields

self

name: self, type: SoNode

see SoRectangularMenuBase.self

Parameter Fields

Visible Fields

On

name: on, type: Bool, default: TRUE

see SoRectangularMenuBase.on

Enabled

name: enabled, type: Bool, default: TRUE

see SoRectangularMenuBase.enabled

Icon Blend Mode

name: iconBlendMode, type: Enum, default: IconReplace

see SoRectangularMenuBase.iconBlendMode

Color

name: color, type: Color, default: 1 1 1

see SoRectangularMenuBase.color

Color Selected

name: colorSelected, type: Color, default: 1 1 1

see SoRectangularMenuBase.colorSelected

Background Color

name: backgroundColor, type: Color, default: 0.5 0.5 0.5

see SoRectangularMenuBase.backgroundColor

Alpha (backgroundAlpha)

name: backgroundAlpha, type: Float, default: 0.80000001, minimum: 0, maximum: 1

see SoRectangularMenuBase.backgroundAlpha

Background Color Selected

name: backgroundColorSelected, type: Color, default: 0.699999988079071 0.699999988079071 0.699999988079071

see SoRectangularMenuBase.backgroundColorSelected

Alpha (backgroundAlphaSelected)

name: backgroundAlphaSelected, type: Float, default: 0.80000001, minimum: 0, maximum: 1

see SoRectangularMenuBase.backgroundAlphaSelected

Mouse Over Color Factor

name: mouseOverColorFactor, type: Float, default: 0.80000001, minimum: 0, maximum: 1

see SoRectangularMenuBase.mouseOverColorFactor

Disable ZBuffer

name: disableZBuffer, type: Bool, default: TRUE

see SoRectangularMenuBase.disableZBuffer

Font Size

name: fontSize, type: Integer, default: 10, minimum: 0

see SoRectangularMenuBase.fontSize

Text Shadow

name: textShadow, type: Bool, default: TRUE

see SoRectangularMenuBase.textShadow

Outer Border

name: itemOuterBorder, type: Float, default: 1, minimum: 0

see SoRectangularMenuBase.itemOuterBorder

Inner Border

name: itemInnerBorder, type: Float, default: 3, minimum: 0

see SoRectangularMenuBase.itemInnerBorder

Gap Between Icon and Text

name: textIconGap, type: Integer, default: 4, minimum: 0

see SoRectangularMenuBase.textIconGap

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoRectangularMenuBase.interactionProviderID

drawBackground

name: drawBackground, type: Bool, default: TRUE

see SoRectangularMenuBase.drawBackground

lastClickedItemId

name: lastClickedItemId, type: String, persistent: no

see SoRectangularMenuBase.lastClickedItemId

hoverItemID

name: hoverItemID, type: String

see SoRectangularMenuBase.hoverItemID

popupDelay

name: popupDelay, type: Float, default: 250, minimum: 0, maximum: 2000

see SoRectangularMenuBase.popupDelay