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 [[email protected]]) in order to become the visible child of this.

Parameters:

this

a `GtkStack`

child

a child of this




2022 vala-language.org