ContextMenuEntryType Enumeration

NXOpen.MenuBar.ContextMenuEntry.Type is an alias for NXOpen.MenuBar.ContextMenuEntryType

class NXOpen.MenuBar.ContextMenuEntryType

Bases: object

Specifies the type of the menu entry.

Enum Members

Enum Member Enum Member Description
Submenu Has an attached menu structure containing more entries.
PushButton Has a command that is run when this entry is activated.
ToggleButton Displays an On/Off state.
Separator A visual divider between sections of the menu.
Label A label often used to divide and provide context to sub-groups of commands.
ValueOf()

Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

Signature ValueOf(value)

Parameters:value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
Return type:Enum Member type.

New in version NX9.0.1.

License requirements: None.