Leaflet.setVisibleChild

void setVisibleChild(gtk.widget.Widget visibleChild)

Sets the widget currently visible when the leaflet is folded.

The transition is determined by propertyLeaflet:transition-type and propertyLeaflet:child-transition-params. The transition can be cancelled by the user, in which case visible child will change back to the previously visible child.

Parameters

visibleChildthe new child

Deprecated