Properties¶
Property | Description |
---|---|
ActiveButton | Returns the activated MenuButton. |
ApplicationId | Returns the activated MenuButton’s owning application identifier. |
MenuBarName | Returns the name of the menu bar. |
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetMenuAncestors | Get the ancestors of the active button. |
Property Detail¶
ActiveButton¶
-
MenuButtonEvent.
ActiveButton
¶ Returns the activated MenuButton.
-------------------------------------
Getter Method
Signature
ActiveButton
Returns: The button that caused the event to fire Return type: NXOpen.MenuBar.MenuButton
New in version NX6.0.0.
License requirements: None.
ApplicationId¶
-
MenuButtonEvent.
ApplicationId
¶ Returns the activated MenuButton’s owning application identifier.
-------------------------------------
Getter Method
Signature
ApplicationId
Returns: The id of the application which owns the active button Return type: int New in version NX6.0.0.
License requirements: None.
Method Detail¶
Dispose¶
-
MenuButtonEvent.
Dispose
¶ Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET and Java, his method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()
New in version NX6.0.0.
License requirements: None.