[Gtk-sharp-list] Binding Arrays to GTK#'s TreeView,
having properties as columns
Rafael Teixeira
monoman at gmail.com
Tue May 31 01:39:55 EDT 2005
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PropertiesAsColumnsListStore.cs
Type: application/octet-stream
Size: 5791 bytes
Desc: not available
Url : http://galactus.ximian.com/pipermail/gtk-sharp-list/attachments/20050531/2dd314fb/PropertiesAsColumnsListStore.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StringsListStore.cs
Type: application/octet-stream
Size: 2482 bytes
Desc: not available
Url : http://galactus.ximian.com/pipermail/gtk-sharp-list/attachments/20050531/2dd314fb/StringsListStore.obj
More information about the Gtk-sharp-list
mailing list