How to extract data as dict from tree widget? #5224
-
Hello, It is very simple to create a tree by inserting dict data into the tree widget. |
Beta Was this translation helpful? Give feedback.
Answered by
TomJGooding
Nov 12, 2024
Replies: 1 comment 4 replies
-
Sorry, I'm not exactly sure what you mean by "extract data as dict from tree widget". Could you provide a simple example? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perhaps rather than traversing the entire tree, you could utilise the
TreeNode.data
?Based on your example, you could create the tree something like this.
Then after the node value has been updated: