//for an array of widgets
    static public GenericWindow Show(string title, bool showNow, string textHeader, ArrayList array)
    {
        if (GenericWindowBox == null)
        {
            GenericWindowBox = new GenericWindow(title, textHeader);
        }
        else
        {
            GenericWindowBox.setTitle(title);
            GenericWindowBox.label_header.Text = textHeader;
        }

        GenericWindowBox.Type = Types.UNDEFINED;

        GenericWindowBox.hideWidgets();

        foreach (ArrayList widgetArray in array)
        {
            GenericWindowBox.showWidgetsPowerful(widgetArray);
        }

        Pixbuf pixbuf = new Pixbuf(null, Util.GetImagePath(false) + "stock_delete.png");

        GenericWindowBox.image_delete.Pixbuf = pixbuf;

        if (showNow)
        {
            GenericWindowBox.generic_window.Show();
        }

        return(GenericWindowBox);
    }