Gtk.Window.prototype.get_attached_to

function get_attached_to():Gtk.Widget {
    // Gjs wrapper for gtk_window_get_attached_to()
}

Fetches the attach widget for this window. See Gtk.set_attached_to.

Since 3.4

Returns

the widget where the window is attached, or null if the window is not attached to any widget.