set_visible_child


Description:

public void set_visible_child (Widget child)

Makes child the visible child of this.

If child is different from the currently visible child, the transition between the two will be animated with the current transition type of this.

Note that the child widget has to be visible itself (see [method@Gtk.Widget.show]) in order to become the visible child of this.

Parameters:

this

a `GtkStack`

child

a child of this