Gtk.Buildable.prototype.construct_child

function construct_child(builder:Gtk.Builder, name:String):GObject.Object {
    // Gjs wrapper for gtk_buildable_construct_child()
}

Constructs a child of buildable with the name name.

Gtk.Builder calls this function if a "constructor" has been specified in the UI definition.

Since 2.12

builder

Gtk.Builder used to construct this object

name

name of child to construct

Returns

the constructed child