Emitted when the menu item is activated and has a submenu. A menu item can be activated by the user selecting the item or by calling activate.
Callback function