MenuItem.setLabel

Sets text on the menu_item label Since 2.16

class MenuItem
void
setLabel
(
string label
)

Parameters

label string

the text you want to set

Meta