treeview and scrolling



hello all,

I would like to modify the scrolling behaviour of a treeview: I have hundreds of thousands of rows to show, and the treeview is taking far too long to fill up all of the data.

So what I want to do is: instead of loading all data into the treeview, and then use the built in scrolling behavior, I would like to add my own scrolling, and to only add the data to the treeview that is currently visible.

What would be the best way to do this?

- derive a new class from treeview, place it in a scrolledwindow, and act on the adjustment callbacks? - place a treeview together with a scrollbar in a window? Should that be a frame or a Viewport?
- something different?

thanks for your advice,
Danny.




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