NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::MenuBar::MenuButtonEvent Class Reference

Implements the Event Object for Menu Buttons
Created in NX6.0.0. More...

Inheritance diagram for NXOpen::MenuBar::MenuButtonEvent:
NXOpen::TransientObject

Public Member Functions

NXOpen::MenuBar::MenuButtonActiveButton ()
 Returns the activated MenuButton. More...
 
int ApplicationId ()
 Returns the activated MenuButton's owning application identifier. More...
 
std::vector< NXStringGetMenuAncestors ()
 Get the ancestors of the active button. More...
 
NXString MenuBarName ()
 Returns the name of the menu bar. More...
 
virtual ~MenuButtonEvent ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Implements the Event Object for Menu Buttons
Created in NX6.0.0.


Constructor & Destructor Documentation

virtual NXOpen::MenuBar::MenuButtonEvent::~MenuButtonEvent ( )
virtual

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.
Created in NX6.0.0.

License requirements : None

Member Function Documentation

NXOpen::MenuBar::MenuButton* NXOpen::MenuBar::MenuButtonEvent::ActiveButton ( )

Returns the activated MenuButton.


Created in NX6.0.0.

License requirements : None

int NXOpen::MenuBar::MenuButtonEvent::ApplicationId ( )

Returns the activated MenuButton's owning application identifier.


Created in NX6.0.0.

License requirements : None

std::vector<NXString> NXOpen::MenuBar::MenuButtonEvent::GetMenuAncestors ( )

Get the ancestors of the active button.

Returns
The ancestors that caused the event to fire
Created in NX6.0.0.

License requirements : None
NXString NXOpen::MenuBar::MenuButtonEvent::MenuBarName ( )

Returns the name of the menu bar.


Created in NX6.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.