setVisibleChild

open fun setVisibleChild(child: Widget)

Makes @child the visible child of @stack.

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

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

Parameters

child

a child of @stack