Gtk.Bin.prototype.get_child

function get_child():Gtk.Widget {
    // Gjs wrapper for gtk_bin_get_child()
}

Gets the child of the Gtk.Bin, or null if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.

Returns

pointer to child of the Gtk.Bin