set_child


Description:

[ Version ( since = "4.6" ) ]
public void set_child (Widget? child)

Sets the child widget of this.

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

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 child.

Parameters:

this

a `GtkMenuButton`

child

the child widget




2022 vala-language.org