Question

When using GTK# from C# on Mono, I often find myself copying out C# data structures into Gtk.ListStore -- it would be much easier if there was a Gtk.TreeModel which wrapped an IEnumerable. Does such a thing exist?

Was it helpful?

Solution

I haven't played with GTK# for a long time but iirc GTK# lacks the databinding features that MWF and ASP.Net have. You could implement your own wrappers/helpers. I also found this http://tirania.org/blog/archive/2008/Mar-26-1.html that might be of help to you. According to the post it should extend GTK# to allow for databinding to datasources like IEnumerable lists.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top