NX Open C++ Reference Guide
|
Implements the Object for Menu Buttons. More...
Public Types | |
enum | SensitivityStatus { SensitivityStatusSensitive, SensitivityStatusInsensitive } |
Sensitivity Status. More... | |
enum | Toggle { ToggleOn, ToggleOff } |
Toggle Status. More... | |
enum | Type { TypeCascadeButton, TypePushButton, TypeToggleButton, TypeSeparator, TypeApplicationButton, TypeNullButton } |
Available button types. More... | |
Public Member Functions | |
int | ButtonId () |
Returns the identifier of the button. | |
NXString | ButtonName () |
Returns the name of the button. | |
NXOpen::MenuBar::MenuButton::SensitivityStatus | ButtonSensitivity () |
Returns the sensitivity of the button. | |
NXOpen::MenuBar::MenuButton::Type | ButtonType () |
Returns the type of the button. | |
NXString | ButtonTypeName () |
Returns the type name of the button. | |
void | SetButtonSensitivity (NXOpen::MenuBar::MenuButton::SensitivityStatus sensitivity) |
Sets the sensitivity of the button. | |
void | SetToggleStatus (NXOpen::MenuBar::MenuButton::Toggle toggleStatus) |
Sets the toggle status of the button. | |
NXOpen::MenuBar::MenuButton::Toggle | ToggleStatus () |
Returns the toggle status of the button. | |
virtual | ~MenuButton () |
Frees the object from memory. |
Implements the Object for Menu Buttons.
virtual NXOpen::MenuBar::MenuButton::~MenuButton | ( | ) | [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
Returns the identifier of the button.
Created in NX6.0.0.
License requirements : None
Returns the name of the button.
Created in NX6.0.0.
License requirements : None
Returns the sensitivity of the button.
Created in NX6.0.0.
License requirements : None
Returns the type of the button.
Created in NX6.0.0.
License requirements : None
Returns the type name of the button.
Created in NX6.0.0.
License requirements : None
void NXOpen::MenuBar::MenuButton::SetButtonSensitivity | ( | NXOpen::MenuBar::MenuButton::SensitivityStatus | sensitivity | ) |
Sets the sensitivity of the button.
Created in NX6.0.0.
License requirements : None
sensitivity | sensitivity |
void NXOpen::MenuBar::MenuButton::SetToggleStatus | ( | NXOpen::MenuBar::MenuButton::Toggle | toggleStatus | ) |
Sets the toggle status of the button.
Created in NX6.0.0.
License requirements : None
toggleStatus | toggle status |
Returns the toggle status of the button.
Created in NX6.0.0.
License requirements : None