Hi,
i am missing some property like items() or getItems() for a tree shape. I need to set all Background Color of the items in the tree except the given one to a predefined color, but I have not saved the IDs of the internal items.
Is there anyway to get all these IDs in an array to allow a loop into all available objects inside?
Tree.items()
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Tree.items()
You could loop thru all tree nodes with the attribute 'children', it gets the direct subelements of a tree node.