MenuBarManagerCallbackStatus Enumeration — NXOpen Python API Reference 12.0.0 documentation

# MenuBarManagerCallbackStatus Enumeration

NXOpen.MenuBar.MenuBarManager.CallbackStatus is an alias for NXOpen.MenuBar.MenuBarManagerCallbackStatus

class `NXOpen.MenuBar.``MenuBarManagerCallbackStatus`

  Bases: `object`

  Return values for action callbacks

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Continue | Continue performing the menu item’s actions.
  Cancel | User interaction requested inhibiting the menu item’s actions.
  OverrideStandard | Inhibit further actions because a pre action took the place of the standard action for a standard NX menu item.
  Warning | Inhibit further actions because a warning condition was raised.
  Error | Inhibit further actions because a error condition was raised.

  `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.