I cooked this pair of classes for my use, binding simple arrays to my
TreeView widgets.
It may be a starting point either to something useful but still
packaged separately from gtk-sharp, or to grow TreeView/*Store into
something more palatable for those addicted to RAD simplicity.

Also a StringsListStore simplifies things for ComboBox and also TreeView, like:

ComboItens.Model = StringsListStore.Create("something", "something
else", "yet another thing");

But I think that ComboBox itself has to be extended or subclassed
(harder when using glade) to deal it and also with enums.

-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!

Attachment: PropertiesAsColumnsListStore.cs
Description: Binary data

Attachment: StringsListStore.cs
Description: Binary data

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to