Gtk.MenuItem::activate-item

function callback(menu_item, ):void;

Emitted when the item is activated, but also if the menu item has a submenu. For normal applications, the relevant signal is Gtk.MenuItem::activate.

menu_item

instance of Gtk.MenuItem that is emitting the signal