set_icon_name


Description:

public void set_icon_name (string icon_name)

Sets the name of an icon to show inside the menu button.

Setting icon name resets [[email protected]:label] and [[email protected]:child].

If [[email protected]:always-show-arrow] is set to `TRUE` and [[email protected]:direction] is not `GTK_ARROW_NONE`, a dropdown arrow will be shown next to the icon.

Parameters:

this

a `GtkMenuButton`

icon_name

the icon name




2022 vala-language.org