set_accel_label


Description:

[ Version ( since = "4.16" ) ]
public static void set_accel_label (MenuItem menu_item, string? accel_path)

Use the passed accel_path show the related AccelLabel with the correct accelerator on the item.

Parameters:

menu_item

MenuItem on which the accel label is to set

accel_path

Unique path, used to identify the accelerator, or NULL to show no accelerator