Gtk.ListStore Class
The ListStore is a columned list data structure to be used with Gtk.TreeView widget.

See Also: ListStore Members


public class ListStore : GLib.Object, TreeDragDest, TreeDragSource, TreeModel, TreeSortable, IEnumerable


Iteration: In new versions of Gtk# (2.0 and up) this class implements the IEnumerable interface, so code can be written like this:

C# Example

     void DumpColumnValues (ListStore store, int col)
         foreach (object[] row in store) 
              Console.WriteLine ("Value of column {0} is {2}", col, row [col]);


Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: