[Gtk-sharp-list] TreeView question

Petteri Kautonen petteri.kautonen at pp.inet.fi
Fri Feb 16 00:16:19 EST 2007

Thank you very much!,
It worked great after I switched the model from ListStore to TreeStore 
type. C# version is in attachment.

Peter Johanson wrote:
> Attached is a simple example written in Boo (a .NET language, so it's
> actually using the gtk# binding, but not from C#). The example uses
> "attributes" to map attributes on the CellRenderer to values in the
> given row for rendering. The alternate approach is using
> TreeCellDataFunc to set the properties on a CellRenderer based on the
> row's values, before the renderer then actually renders things.
> Hope this helps,
> -pete
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: toggle-treeview.cs
Url: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070216/ae2b10de/attachment.pl 

More information about the Gtk-sharp-list mailing list