wijjit.elements.display.tree.TreeIndicatorStyle
- class wijjit.elements.display.tree.TreeIndicatorStyle(*values)[source]
Visual styles for tree expand/collapse indicators.
- Variables:
BRACKETS (
auto) – Square brackets with plus/minus: [+] / [-]TRIANGLES (
auto) – Small Unicode triangles: ▸ / ▾TRIANGLES_LARGE (
auto) – Large Unicode triangles: ▶ / ▼ (default)CIRCLES (
auto) – Circled plus/minus: ⊕ / ⊖MINIMAL (
auto) – Minimal plus/minus: + / -SQUARES (
auto) – Squared plus/minus: ⊞ / ⊟
Notes
When Unicode styles are selected but not supported by the terminal, automatically falls back to BRACKETS style.
- __init__(*args, **kwds)
Attributes
- BRACKETS = 1
- TRIANGLES = 2
- TRIANGLES_LARGE = 3
- CIRCLES = 4
- MINIMAL = 5
- SQUARES = 6