ScrolledWindow.setChild

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

Sets the child widget of scrolled_window.

If child does not implement the [gtk.scrollable.Scrollable] interface, the scrolled window will add child to a [gtk.viewport.Viewport] instance and then add the viewport as its child widget.

Parameters

childthe child widget