Skip to content

Dynamic rendering of Components in Container #658

Answered by ArthurSonzogni
pralad-p asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @pralad-p,

I wish there was a more "functional" way of doing it, but at least with the ftxui/component subpart of FTXUI, the best I have to offer is an "imperative" way of doing things: Define a Container::Vertical({}) and manually use ComponentBase::Add to add childrent to the tree.

If you have any API suggestion that would make your life easier, please don't hesitate to propose it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pralad-p
Comment options

Answer selected by pralad-p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants