在GTK Treeview中查找字符串

时间:2016-06-16 06:53:40

标签: c# mono gtk

我在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中是否存在字符串?

0 个答案:

没有答案