Open bluesaka111 opened 2 years ago
A simple tree view that accept c++ struct as data source for branch generation is more than enough. Something similar to tree or pactree will fit ftxui perfectly.
Could you specify what kind of API you are thinking about?
I would like to understand if we could end up with something sufficiently general and easy to use.
I suspect user best way general way is to use Collapsible
or is inner components Checkbox
/Maybe
.
Adding a specific tree view might be a better fit inside a depending library. Maybe I should add one dedicated for browsing filesystem.
@ArthurSonzogni I just checked Collapsible example. I need to tell this. What an amazing library! Piece of C++ programming art, basically. Thank you.
If we had something like this in GUI domain. With similar design, middle abstraction level, highest quality text, maybe GPU accelerated. For modern, fast, boutique cross platform software.
What do you think about the
Collapsible
and theMaybe
components?See example: https://arthursonzogni.com/FTXUI/examples/?file=component/collapsible
This was meant to be used as a building block for some tree views. What kind of API would you like to see?