Gtk.Window.prototype.get_group

function get_group():Gtk.WindowGroup {
    // Gjs wrapper for gtk_window_get_group()
}

Returns the group for window or the default group, if window is null or if window does not have an explicit window group.

Since 2.10

Returns

the Gtk.WindowGroup for a window or the default group