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

See Also: ListStore Members

Syntax

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

Remarks

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]);
     }
  

Requirements

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