[Gtk-sharp-list] Tree/List/GValue improvements

Lee Mallabone gnome@fonicmonkey.net
20 May 2003 10:16:02 +0100


On Tue, 2003-05-20 at 03:26, Rachel Hestilow wrote:
> So I recently committed some improvements which make it easier to use
> the TreeView:
..snip..

Hi Rachel,
This all looks fantastic! I was wondering if you could elaborate a
little on the following point from your message:

> To add a column to a view:
>   col = view.AppendColumn (title, cell_renderer, cell_data_func);
>
> The second form specifies instead a callback delegate which will be
> called whenever the view needs redrawing. In this callback you can set
> properties on the cell renderer in the normal .NET fashion. This is
> mostly only of use if you are storing managed values in your tree model.

Does this mean I can set up views that use multiple methods/properties
of a single object to generate multiple view columns? Or have I
misinterpreted?

I'll do my best to update the API docs to reflect your changes.

Regards,

Lee.