Gtk.Buildable.prototype.add_child

function add_child(builder:Gtk.Builder, child:GObject.Object, type:String):void {
    // Gjs wrapper for gtk_buildable_add_child()
}

Adds a child to buildable. type is an optional string describing how the child should be added.

Since 2.12

builder

a Gtk.Builder

child

child to add

type

kind of child or null