[Gtk-sharp-list] Question about TreeCellDataFunc
Michael Fasolino
Michael_Fasolino at raytheon.com
Thu Jun 7 12:48:39 EDT 2007
I am currently using a TreeCellDataFunc, and I like that I only have to
store my data in one place (a class that I created) and then the view is
updated from that. What I don’t like is the amount of times that the
render functions for each column are run (it looks like four times for
ever entry in the view every time that anything in the model is changed,
and then many more times every time the cursor passes over the view). I
would like the luxury of only having to store my data once, while also
being able to control when the view is updated since I will know whenever
the underlying data is changed and can command an update from my code. Is
there a way to do this? I cannot say that I fully understand all the
inner workings of the model <-> view relationship and am hoping that there
is a way to do this.
Any help would be greatly appreciated.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070607/da89b67c/attachment-0001.html
More information about the Gtk-sharp-list
mailing list