Creating Dynamic VSTGUI Components

Apologies if I’ve missed something obvious. I’m a complete VSTGUI noob, and I was after some sort of guidance for creating my own GUI components (drawn from scratch). I’m aware of loading a UI scheme using a uidesc file, but I would ideally like to create my components dynamically.

Any help would be greatly appreciated!


1 Like

You don’t need to use a uidesc file. I derive my editor from VSTGUIEditor.

You can use uidesc files and provide your own UI components. Read about it here.

But is there a way of creating UI components without a uidesc file?

Sure, but why do you want to do this? Do you want to code all UI code by yourself?

I suppose the aim is to eventually draw UI dynamically. Sorry I am new to VST GUI and aware I might be going about this the wrong way?

That’s exactly what you can do with uidesc files and custom UI’s. Just run thru the tutorial I linked above. There you learn how to draw a custom UI (and this can be made dynamically dependent on your other data, but is not part of the tutorial) and how to integrate this custom UI into the uidesc file.

Ahh I’ve misunderstood how the UI file works then! I will work through the documentation you linked.

Thanks for taking the time to reply, Arne.