set_child


Description:

public void set_child (Widget? child)

Sets the child widget of this.

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

Parameters:

this

a `GtkScrolledWindow`

child

the child widget