Leaflet.setVisibleChild
void setVisibleChild(gtk.widget.Widget visibleChild)Sets the widget currently visible when the leaflet is folded.
The transition is determined by adw.leaflet.Leaflet.transitionType and adw.leaflet.Leaflet.childTransitionParams. The transition can be cancelled by the user, in which case visible child will change back to the previously visible child.
Parameters
visibleChild | the new child |