Gimp.Procedure.prototype.add_menu_path

function add_menu_path(menu_path: String): void {
    // Gjs wrapper for gimp_procedure_add_menu_path()
}
  

Adds a menu path to the procedure. Only procedures which have a menu label can add a menu path.

Menu paths are untranslated paths to menus and submenus with the syntax `<Prefix>/Path/To/Submenu`, for example `<Image>/Layer/Transform`

See also: Gimp.PlugIn.prototype.add_menu_branch.

Since 3.0

menu_path

The procedure's additional menu path.