Re: Telling a tree_view a model has changed



On Tuesday 15 February 2005 13:28, Denis wrote:

I do not see how this can happen since I made my *own* model and do not
do anything which can notify the view.
Is there something I should do in the model to say "Hi everybody, I have
changed" ?

You need to call gtk_tree_model_row_changed() if data in your model has 
changed. That should automatically make the treeview update as well.

Cheers
 -Tim




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]