Re: dynamic list widget



Rolf Schaeuble <mail rschaeuble de> writes:

> I need to display lots of data in a clist-like way. I have the data in a
> special format i don't want to copy to an clist-like format because it
> would need more than the double amount of memory I need without. So my idea
> is to have a list-widget that keeps just the data for the displayed rows in
> memory. Whenever it has to display a new row it should ask a function for
> the needed data, display it on the screen and forget the data of the row
> which won't be displayed any more. Cause I'm a bloody rookie I don't know
> how to do this. Could anyone give me a hint how to start?

You may want to use the ETable widget from the GAL module on cvs.  It
uses a model/view architecture; you can define a model that fits your
own internal data representation.

ETable is what we use all over the place in Evolution to display
message lists, task lists, etc.

  Federico




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