Hi all !
I spent some time to study the ValueTree class as well as the related posts in this forum.
I think I have a clear view for the use of ValueTree class in conjunction with the TreeView.
I think it is an excellent tool for displaying and manipulating *actual* data in a tree form, like:
- Displaying Master/Detail ordered data and having change messages on then
- Creating side menus in a tree style...
and so on.
Nevertheless, I still have an obscure point on the ValueTree class.
As I read on the Forum, some Juce users use it to control the appearance of the graphical interface.
According to the above, it looks like a ValueTree class acts as a *parallel* data model which holds the same values as the program variables. However, the creation and maintenance of this model, requires additional procedures and enough code with many String constants.
Especially for the UI, I understand the use of the ValueTree class as a tool that allows the end-user to make changes to the UI appearance.
Is this correct or is there something else that I do not understand?
Thanks for any suggestion that will make my mind goes up.