Gtk.MenuItem.prototype.get_accel_path

function get_accel_path():String {
    // Gjs wrapper for gtk_menu_item_get_accel_path()
}

Retrieve the accelerator path that was previously set on menu_item.

See Gtk.set_accel_path for details.

Since 2.14

Returns

the accelerator path corresponding to this menu item's functionality, or null if not set