Gtk.Builder.prototype.get_object

function get_object(name:String):GObject.Object {
    // Gjs wrapper for gtk_builder_get_object()
}

Gets the object named name. Note that this function does not increment the reference count of the returned object.

Since 2.12

name

name of object to get

Returns

the object named name or null if it could not be found in the object tree.