ulis a(Virtual)ListBox is a Tcl megawidget that displays a virtual list.
The idea of a virtual listbox was evoked early (1995) by Greg Goodman in c.l.t:
I never read the thread before but his description is very close to my design.
The items are virtual and are obtained through a procedure callback when they should be displayed.
doc & dowload: http://perso.wanadoo.fr/maurice.ulis/tcl/Virtuallist
See also
28 Sep, 2003 - How is it different from a (Tktable) table?
ulis: It's not a multi-columns megawidget but a widget with virtual data (given by a callback).
At the top of the page you can see:
- Sorry, it still is not very clear.
LV It's very clear to me - and quite exciting. ulis, have you considered submitting your widgets to tklib for wider distribution?
As for the VirtualList, think of things this way. In most cases, a listbox contains a fixed set of data that you obtain up front, storing the values in at least the widget, if not additionally some sort of list variable.
However, with VirtualList, it sounds as if ulis uses callbacks, so that the data need not all be in memory - instead, it is fetched as you scroll further in the list.