set_label


Description:

public void set_label (string label)

Sets the label to show inside the menu button.

Setting a label resets [property@Gtk.MenuButton:icon-name] and [property@Gtk.MenuButton:child].

If [property@Gtk.MenuButton:direction] is not `GTK_ARROW_NONE`, a dropdown arrow will be shown next to the label.

Parameters:

this

a `GtkMenuButton`

label

the label