Gimp.Procedure.prototype.set_menu_label

function set_menu_label(menu_label: String): void {
    // Gjs wrapper for gimp_procedure_set_menu_label()
}
  

Sets the label to use for the procedure's menu entry, The location(s) where to register in the menu hierarchy is chosen using Gimp.Procedure.prototype.add_menu_path.

For translations of menu labels to work properly, menu_label should only be marked for translation but passed to this function untranslated, for example using N_("Label"). GIMP will look up the translation in the textdomain registered for the plug-in.

Since 3.0

menu_label

The procedure's menu label.