set_label


Description:

public void set_label (string? label)

Sets or unsets the "label" attribute of this.

If label is non-null it is used as the label for the menu item. If it is null then the label attribute is unset.

Parameters:

this

a MenuItem

label

the label to set, or null to unset