Viewport.setChild

void setChild(gtk.widget.Widget child = null)

Sets the child widget of viewport.

Parameters

childthe child widget