[Gtk-sharp-list] TreeView question
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,
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gtk-sharp-list