[Gtk-sharp-list] Maybe a bug in ListStore under Windows

Christian Rudh lists-christian at rudh.se
Tue Jul 5 11:13:30 EDT 2005


Hi

You can do this to loop through a ListStore:

TreeIter it = new TreeIter ();
store.GetIterFirst (out it);
while (store.IterIsValid (it))
{
	string text = (string) store.GetValue (it, 0);
	Console.WriteLine (text);
			
	store.IterNext (ref it);
}


/Christian


On Tue, 2005-07-05 at 15:55 +0200, Michele Beltrame wrote:
> Hi!
> 
> I kept on doing some tests and I discovered I have a problem: I need to
> distribute this application to Windows machines in which there is the
> package version 1.1.8 of Mono, which features Gtk# 1.9.5 which has this
> bug. I guess I could create an installer from the SVN version, but I'm
> not able to at present time.
> 
> So, what I'm asking is: is there a way from C# code to circumvent this
> problem? I found nothing besides Foreach to loop through a ListStore,
> but maybe somebody has a good idea... ;-)
> 
> 	Thanks, Michele.
> 



More information about the Gtk-sharp-list mailing list