ScrolledWindow.setChild

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.

class ScrolledWindow
void
setChild

Parameters

child gtk.widget.Widget

the child widget