[Gtk-sharp-list] Arbitrary number of columns in Gtk.ListStore

Arthur Turrini atgnbk at gmail.com
Mon May 22 20:35:31 EDT 2006


Hello guys,

I'm new to gtk# and to this mailing list.

What I'm trying to do is to create a new ListStore with an arbitrary
number of columns, instead of using 

ls = new Gtk.ListStore(typeof(string), ... , typeof(bool));

I wanted something like:

... code begins
ls = new Gtk.ListStore();
... some code
ls.AppendColumnType(typeof(string));
... some more appends
ls.AppendColumnType(typeof(bool));
... rest of code

Does anyone knows how I can achieve this in a pratical non-obstructive
way?

Thanks to everyone!

[ ]'s,

---
Arthur Turrini.




More information about the Gtk-sharp-list mailing list