我在GTK中使用TreeView Widget向用户显示列表。
treeview1.AppendColumn (filename);
filename.AddAttribute (cell, "text", 0);
liststore = new ListStore (typeof(string));
treeview1.Model = liststore;
foreach (var f in templist)
{
liststore.AppendValues (f);
}
如何在添加之前检查GTK Liststore中是否存在字符串?