This module provides a List widget for rendering a list of
arbitrary widgets. A List shows a number of elements and
highlights the currently-selected widget. It supports key events
to navigate the list and will automatically scroll based on the
space available to the list along with the size of the widgets in
the list.

Documentation

The list widget type. Lists are parameterized over the internalvalue typea, the type of internal values used to refer to the
visible representations of the list contents, and the widget typeb, the type of widgets used to represent the list visually.

List manipulation

Scroll a list up or down by the specified number of positions.
Scrolling by a positive amount scrolls downward and scrolling by a
negative amount scrolls upward. This automatically takes care of
managing internal list state and invoking event handlers.