A tree view
A tree view.
Each <tree-item> is a focusable row with a label, and the <tree-item>s nested inside it are its children, shown indented while it is open. Clicking a branch, or pressing Enter on it, toggles it; Right opens and Left closes the focused branch. A leaf's own onclick runs when it is picked.
Try it: Tab into the tree, then use the arrows and Enter.
- Source file:
example/tree.cpp - Standalone terminal: ⛶ Open Fullscreen
- Guide: Relevant Documentation
- ← Back to Examples Index

