Skip to content

Property tree ​

one value, reflected. The ui-gallery page Property tree, painted with no terminal and no window at each of the documented profiles:

bash
ui-gallery --render --page property-tree --profile full|enhanced|baseline
 sparkles:ui one value, reflected                                                   tokyo-night 
   Welcome           ▕ Property tree · one value, reflected                                    █
   Primitives        ▕                                                                         █
   Layout            ▕                                                                         █
   Tracks            ▕ PropertyTree!T reflects the subject below at compile time — no          █
   Text              ▕ registry, no base class — and rebuilds one flat row snapshot from ref   █
   Themes            ▕ subject on every change. Disclosure, selection, the filter, and the     █
   Slots             ▕ undo/redo history are host-owned values beside it.                      █
   Decoration        ▕                                                                         █
   Effects           ▕ / starts the ranked fuzzy filter                                        █
   Grid              ▕                                                                         █
   Components        ▕ ┌─────────────────────────────────────────────────────────────────────┐ █
   Tree              ▕ │ the live tree                                                       │ █
 ▸ Property tree     ▕ │ ├─ name                   "background"  ⟨needs EDT⟩            █    │ █
   Table             ▕ │ ├─ visible                [x] true                             █    │ █
   Scrolling         ▕ │ ├─ blend                  ◂ normal ▸                           █    │ █
   State             ▕ │ ├─ ▸ fill                                                      █    │ █
   Split             ▕ │ ├─ ▸ metrics                                                   █    │ █
   Dock              ▕ │ ├─ ▸ dashes               [3]                                  █    │ █
   Terminal          ▕ │ ├─ id ⊘                   42                                   █    │ █
                     ▕ │ ├─ tint                   3368601                              █    │ ░
                     ▕ │ ├─ handle ⊘               Handle(0x12648430)                   █    │ ░
                     ▕ │ ├─ ▸ extra                {3 keys}                             █    │ ░
                     ▕ │ └─ ▸ linked                                                    █    │ ░
                     ▕ │                                                                █    │ ░
                     ▕ │                                                                █    │ ░
                     ▕ │                                                                █    │ ░
                     ▕ └─────────────────────────────────────────────────────────────────────┘ ░
                     ▕                                                                         ░
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
                     ▕                                                                          
 pages ↓ down ↑ up → expand ← collapse / fold ⏎ toggle / edit + step up         ? keys   q quit 
 sparkles:ui one value, reflected                                                   tokyo-night 
   Welcome           ▕ Property tree · one value, reflected                                    █
   Primitives        ▕                                                                         █
   Layout            ▕                                                                         █
   Tracks            ▕ PropertyTree!T reflects the subject below at compile time — no          █
   Text              ▕ registry, no base class — and rebuilds one flat row snapshot from ref   █
   Themes            ▕ subject on every change. Disclosure, selection, the filter, and the     █
   Slots             ▕ undo/redo history are host-owned values beside it.                      █
   Decoration        ▕                                                                         █
   Effects           ▕ / starts the ranked fuzzy filter                                        █
   Grid              ▕                                                                         █
   Components        ▕ ┌─────────────────────────────────────────────────────────────────────┐ █
   Tree              ▕ │ the live tree                                                       │ █
 ▸ Property tree     ▕ │ ├─ name                   "background"  ⟨needs EDT⟩            █    │ █
   Table             ▕ │ ├─ visible                [x] true                             █    │ █
   Scrolling         ▕ │ ├─ blend                  ◂ normal ▸                           █    │ █
   State             ▕ │ ├─ ▸ fill                                                      █    │ █
   Split             ▕ │ ├─ ▸ metrics                                                   █    │ █
   Dock              ▕ │ ├─ ▸ dashes               [3]                                  █    │ █
   Terminal          ▕ │ ├─ id ⊘                   42                                   █    │ █
                     ▕ │ ├─ tint                   3368601                              █    │ ░
                     ▕ │ ├─ handle ⊘               Handle(0x12648430)                   █    │ ░
                     ▕ │ ├─ ▸ extra                {3 keys}                             █    │ ░
                     ▕ │ └─ ▸ linked                                                    █    │ ░
                     ▕ │                                                                █    │ ░
                     ▕ │                                                                █    │ ░
                     ▕ │                                                                █    │ ░
                     ▕ └─────────────────────────────────────────────────────────────────────┘ ░
                     ▕                                                                         ░
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
                     ▕                                                                          
 pages ↓ down ↑ up → expand ← collapse / fold ⏎ toggle / edit + step up         ? keys   q quit 
 sparkles:ui one value, reflected                                                   tokyo-night 
   Welcome           | Property tree * one value, reflected                                    #
   Primitives        |                                                                         #
   Layout            |                                                                         #
   Tracks            | PropertyTree!T reflects the subject below at compile time - no          #
   Text              | registry, no base class - and rebuilds one flat row snapshot from ref   #
   Themes            | subject on every change. Disclosure, selection, the filter, and the     #
   Slots             | undo/redo history are host-owned values beside it.                      #
   Decoration        |                                                                         #
   Effects           | / starts the ranked fuzzy filter                                        #
   Grid              |                                                                         #
   Components        | +---------------------------------------------------------------------+ #
   Tree              | | the live tree                                                       | #
 > Property tree     | | +- name                   "background"  <needs EDT>            #    | #
   Table             | | +- visible                [x] true                             #    | #
   Scrolling         | | +- blend                  < normal >                           #    | #
   State             | | +- > fill                                                      #    | #
   Split             | | +- > metrics                                                   #    | #
   Dock              | | +- > dashes               [3]                                  #    | #
   Terminal          | | +- id o                   42                                   #    | #
                     | | +- tint                   3368601                              #    | |
                     | | +- handle o               Handle(0x12648430)                   #    | |
                     | | +- > extra                {3 keys}                             #    | |
                     | | +- > linked                                                    #    | |
                     | |                                                                #    | |
                     | |                                                                #    | |
                     | |                                                                #    | |
                     | +---------------------------------------------------------------------+ |
                     |                                                                         |
                     | +---------------------------------------------------------------------+ |
                     |                                                                          
 pages v down ^ up > expand < collapse / fold < toggle / edit + step up         ? keys   q quit 

What each profile gives up ​

The frame's degradation report: one line per substitution, and the capability the target lacked. full is empty when the page asks for nothing a terminal cannot do.

text
alpha-flattened ×4 (alpha)
text
color-folded ×102 (colorDepth)
alpha-flattened ×4 (alpha)
text
color-dropped ×102 (colorDepth)
ascii-border ×3 (unicode)
ascii-scrollbar ×2 (unicode)
ascii-glyph ×24 (unicode)
alpha-flattened ×4 (alpha)

These are the files dub test :ui-gallery compares every render against, so a change to this page that is not re-blessed fails CI.