MenuButton.setLabel

Sets the label to show inside the menu button.

Setting a label resets propertyGtk.MenuButton:icon-name and gtk.menu_button.MenuButton.Widget.

If gtk.menu_button.MenuButton.ArrowType is not gtk.types.ArrowType.None, a dropdown arrow will be shown next to the label.

class MenuButton
void
setLabel
(
string label
)

Parameters

label string

the label