/*
* Copyright (c) 2017 elementary, LLC. (https://elementary.io)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/

public class AdvancedSettingsPanel : Gtk.Grid {
    public string panel_name { get; construct; }
    public string [] input_sources { get; construct; }
    public string [] exclusions { get; construct; }

    construct {
        row_spacing = 6;
        column_spacing = 12;
    }

    public AdvancedSettingsPanel (string name, string [] input_sources, string [] exclusions = {}) {
        Object (
            panel_name: name,
            input_sources: input_sources,
            exclusions: exclusions
        );
    }
}
