Stack.setVisibleChildName

void setVisibleChildName(string name)

Makes the child with the given name visible.

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 [gtk.widget.Widget.show]) in order to become the visible child of stack.

Parameters

namethe name of the child to make visible