public AddFromResourceFileGUI(ExportSettingsController settings, FilesSelectedCallback callback) { this.callback = callback; this.settings = settings; Build(); nodestore = new NodeStore(typeof(VectorFilePath)); CellRendererToggle selectToggle = new CellRendererToggle(); selectToggle.Activatable = true; selectToggle.Toggled += (object o, ToggledArgs args) => { VectorFilePath selected = (VectorFilePath)nodestore.GetNode(new TreePath(args.Path)); //Invert value selected.Selected = !selected.Selected; }; EntryList.AppendColumn("Add", selectToggle, "active", 0); EntryList.AppendColumn("Name", new Gtk.CellRendererText(), "text", 1); EntryList.AppendColumn("Path", new Gtk.CellRendererText(), "text", 2); EntryList.NodeStore = nodestore; }