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 known menus and submenus with the syntax `<Prefix>/Path/To/Submenu`, for example `<Image>/Layer/Transform`. GIMP will localize these. Nevertheless you should localize unknown parts of the path. For instance, say you want to create procedure to create customized layers and add a `Create` submenu which you want to localize from your plug-in with gettext. You could call:
``` gimp_procedure_add_menu_path (procedure, g_build_path ("/", "<Image>/Layer", _("Create"), NULL)); ```
See also: Gimp.PlugIn.prototype.add_menu_branch.
Since 3.0
- menu_path
The procedure's additional menu path.