[Gtk-sharp-list] TreeCellDataFunc: How often and why?

Peter Johanson latexer at gentoo.org
Wed May 2 16:02:31 EDT 2007


On Wed, May 02, 2007 at 02:48:09PM -0500, Michael Fasolino wrote:
>    I currently have a design in which I am using a TreeCellDataFunc to
>    render values of a class that I am storing in a TreeStore to a several
>    editable columns in a TreeView.
>    This worked great until I added a button that sets all the values back
>    to defaults.  The source class gets updated, but the TreeView is not
>    updated to reflect the changes until I move the mouse over it.

You want to use TreeModel.EmitRowChanged, which will cause all the views
of the model to update their rendering of that row.

-pete



More information about the Gtk-sharp-list mailing list