Re: Private types inside GTK+



(Tristan, I will be replying to your main e-mail as soon as possible.  As you might understand I need some more time for that :)).

On Sep 23, 2010, at 4:22 PM, Enrico Weigelt wrote:
> * Tristan Van Berkom <tristanvb openismus com> schrieb:
> 
> Hi,
> 
> <big_snip />
> 
> Just an naive half-OT question in the middle: are these widgets
> already capable of retrieving data on-demand, so information not
> yet visible (eg. a subtree in some filesystem view is collapsed)
> can be loaded when needed (eg. the subtree is actally opened) ?
> 
> If not, this should be considered on refactoring :)

Such constructions are already possible in some cases by writing your own model.  There are some things in tree view that could be done to support this in an even better way, or even provide a default model that will handle the majority of on-demand loading.  Another related topic would be "lazy loading", which would be about handling very large models (in the millions of rows) efficiently and also doing on-demand loading for that.  I regard both of these as another refactoring that would happen separately from what is being proposed right now (which focusses more on layouting and rendering).


regards,

-kris.



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