[Gtk-sharp-list] how to search for a value in a ListStore

Radu kenjiru.ro at gmail.com
Tue Jan 30 12:28:31 EST 2007


How can I search for a value of a field in a ListStore object?

For example, I have this list:
ListStore list = new ListStore(typeof(int), typeof(string));
list.AppendValues(1, "first string");
list.AppendValues(2, "second string");

Now, how can I search for a string/integer in this list? I want to get 
the iter for the row that contains the given string/integer.


More information about the Gtk-sharp-list mailing list