Gtk.Widget.prototype.get_parent

function get_parent():Gtk.Widget {
    // Gjs wrapper for gtk_widget_get_parent()
}

Returns the parent container of widget.

Returns

the parent container of widget, or null