Hello,
I am doing a plugin so I have a processor and an editor. I added a file containing a custom component based on a tableListBox, this component is initialized in the editor. I want the editor to call a function of the processor (since it has access to it) anytime the user changes a value of my tableListBox component. I know this has to do with adding a listener somewhere but I don’t really know more.
Any ideas ?
thanks
I don’t see a TableListBox Listener in the docs, so I think you would have to use a custom component as the cells of your table and use the Listener of that.
That’s if you want the trigger to be the changing of the TableListBox. However, if you want the trigger to be the changing of the data, you can use the Value Tree listener. If you’re not using Value Tree already, it would probably be advisable.
Here’s the Listeners tutorial in case its relevant.
https://docs.juce.com/master/tutorial_listeners_and_broadcasters.html
And the Value Tree tutorial:
https://docs.juce.com/master/tutorial_value_tree.html
thank you I will look through that. I do want the trigger to be any value changed
