Skip to content

Can I reload a TreeControl's list of items? #151

Answered by chelnak
MasterKale asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @MasterKale , this is how I do it:

https://github.com/chelnak/jenkins-tui/blob/016958abe639e97daa02d63535fcdfde7f1b97cd/src/jenkins_tui/app.py#L100

I've got a refresh method in the works that will remove the need to init a new version of the tree.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MasterKale
Comment options

Answer selected by MasterKale
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