► |  | Mr Lib: Extra GUI Libraries

1 | Aligned Pasteboard
2 | Bitmap Label
3 | Cache-image Snip
4 | Close Icon
5 | GIF and Animated GIF Writing
6 | Graphs
7 | Hierarchical List Control
8 | Include Bitmap
9 | Interactive Value Port
10 | Name Message
11 | Path Dialog
12 | Plot
13 | Switchable Button
14 | Image Core
15 | Matrix Snip
16 | Te X Table
17 | Terminal Window
18 | Acknowledgments
| Index

▼ | 7 | Hierarchical List Control

7.1 | hierarchical-list%
7.2 | hierarchical-list-item<%>
7.3 | hierarchical-list-compound-item<%>
7.4 | Snips in a hierarchical-list% Instance

top ← prev up next →

### 7`` Hierarchical List Control

(require mrlib/hierlist) | package: gui-lib

A hierarchical-list% control is a list of items, some of which can themselves be hierarchical lists. Each such sub-list has an arrow that the user can click to hide or show the sub-list’s items.

The list control supports the following default keystrokes:

- Down: move to the next entry at the current level (skipping lower levels).

- Up: move to the previous entry at the current level (skipping lower levels).

- Left: move to the enclosing level (only valid at embedded levels).

- Right: move down in one level (only valid for lists).

- Return: open/close the current selected level (only valid for lists).

7.1 hierarchical-list%
7.2 hierarchical-list-item<%>
7.3 hierarchical-list-compound-item<%>
7.4 Snips in a hierarchical-list% Instance

top ← prev up next →