set_visible_child


Description:

[ Version ( since = "3.10" ) ]
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 show) in order to become the visible child of this.

Parameters:

this

a Stack

child

a child of this




2022 vala-language.org