Re: g_object_set and threads



No, you don't call gtk_tree_model_row_changed() from you cell data function,
but from you time out function, which updates the list store.  And you call
it on the list store.

Ok, I've tried that, but still the treeview doesn't get updated.
Maybe it has to do with g_object_set which I use to update the cell
renderer? I don't know how that meganism works exactly, but I suspect
that function emits some signal to something, and that something then
redraws its window (part). So could it be that my thread only emits that
signal, and doesn't do the graphical update? I know, it's some wild gues,
but since I've tried plenty of other things...

I think you misunderstand things. You cannot redraw a cell renderer, because
cell renderer is merely an algorithm that draws cells.  It is not bound to
any specific cell or tree row or whatever.

I did. Thanks for clearing up.

Abel.





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