Can either be fed a materialized node tree or a function get-children to provide shallow (has no children) children of a requested node id for more dynamic situations.
There is an example. Things work from all I tried.
This is based on the RichText implementation. So the other PR needs to be merged first and this one rebased. Also the commits of this PR probably need some cleanup-rebase. Thus draft for now.
Add a TreeView widget.
Can either be fed a materialized node tree or a function
get-children
to provide shallow (has no children) children of a requested node id for more dynamic situations.There is an example. Things work from all I tried.
This is based on the RichText implementation. So the other PR needs to be merged first and this one rebased. Also the commits of this PR probably need some cleanup-rebase. Thus draft for now.