Hello how can I add a custom container component that allows to drag other components under it, like View?
I tried to overwrite isContainer() but it did not work.
The drag and drop in a view only works in the edit mode.
If you want to implement some modular effect, then this is not implemented. Would be a cool feature.
One way is to implement a component and add it into the rest of your plugin. To allow dragging parts of the GUI and make it effect something in your DSP is a bigger endeavour.
Ah no what I meant is that I want to make my own adjusted version of foleys::Container aka View
That might be tricky. You can have a look at foleys::GuiContainer. Maybe inherit from that one, but expect dragons. It is not designed for that purpose.
What are you trying to do in that bespoke container?