|
NX Open C++ Reference Guide
|
Implements the Object for Menu Buttons
Created in NX6.0.0.
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. | |
Public Member Functions inherited from NXOpen::TransientObject | |
| void * | GetHandle () |
| Handle of the internal object represented by this object. | |
Implements the Object for Menu Buttons
Created in NX6.0.0.
|
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
| int NXOpen::MenuBar::MenuButton::ButtonId | ( | ) |
Returns the identifier of the button.
Created in NX6.0.0.
License requirements : None
| NXString NXOpen::MenuBar::MenuButton::ButtonName | ( | ) |
Returns the name of the button.
Created in NX6.0.0.
License requirements : None
| NXOpen::MenuBar::MenuButton::SensitivityStatus NXOpen::MenuBar::MenuButton::ButtonSensitivity | ( | ) |
Returns the sensitivity of the button.
Created in NX6.0.0.
License requirements : None
| NXOpen::MenuBar::MenuButton::Type NXOpen::MenuBar::MenuButton::ButtonType | ( | ) |
Returns the type of the button.
Created in NX6.0.0.
License requirements : None
| NXString NXOpen::MenuBar::MenuButton::ButtonTypeName | ( | ) |
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 |
| NXOpen::MenuBar::MenuButton::Toggle NXOpen::MenuBar::MenuButton::ToggleStatus | ( | ) |
Returns the toggle status of the button.
Created in NX6.0.0.
License requirements : None