| Cisco Packet Tracer Extensions API 8.1.0
    API for communication between Cisco Packet Tracer application and its extension applications and modules. | 
MenuItem is an item in the Menu object. More...
| Public Member Functions | |
| uuid | getUuid () | 
| Returns the UUID of this menu item.  More... | |
| void | removeItem () | 
| Removes this menu item from the parent menu.  More... | |
| QString | getLabel () | 
| Returns the label for this menu item.  More... | |
| void | setEnabled (bool) | 
| Enables or disables this menu item.  More... | |
| void | setVisible (bool) | 
| Shows or hides this menu item.  More... | |
| void | onClicked () | 
| This event is emitted when this menu item is clicked.  More... | |
| QString MenuItem::getLabel | ( | ) | 
Returns the label for this menu item.
| uuid MenuItem::getUuid | ( | ) | 
Returns the UUID of this menu item.
| void MenuItem::onClicked | ( | ) | 
This event is emitted when this menu item is clicked.
IPC event.
| void MenuItem::removeItem | ( | ) | 
Removes this menu item from the parent menu.
| void MenuItem::setEnabled | ( | bool | ) | 
Enables or disables this menu item.
| bEnabled,true | to enable this menu item, false to disable it. | 
| void MenuItem::setVisible | ( | bool | ) | 
Shows or hides this menu item.
| bVisible,true | to show this menu item, false to hide it. |