So, Rory, I’ve been working with my “creator” library to build a synth, and out of curiousity I copied and pasted the “widget” code it generates directly into the cabbage section, and ran the code. Now considering that this is a complex interface (using lots of plants), the documentation for how the “parent” identifier is used states:
It should only be used when creating widgets dynamically using the cabbageCreate
opcode.
(Sorry, I don’t know how to do that as a link…)
But my question is that when I run my code, everything appears to operate correctly, making all the correct plant objects visible as needed. I attached the latest version that I am talking about. It only has one include file to handle the code needed to make all the plants hidden/visible. Otherwise, this is directly output from my library. Do note that the widgets that call a ‘parent’ identifier are not even grouped together. I did make one edit to remove an ‘schedulek’ call, but that instrument is defined in another include. The file not labeled as smaller is 2100 x 700 for a large screen (like the one I’ve got), and the other is 1400 x 700, might be bigger than other can use still.
Archive.zip (12.8 KB)
So, is this kosher with cabbage? A Happy accident? Something to be avoided?
Just as a operating starting point, under the drone section, selecting one of the top row buttons selects one of the drone instances. The “huge” combobox is used to select the input for this drone. The row of buttons below that will select the envelope plant for that operator, and the bottom combobox will allow the selection of the plant for each of the different types. Also, note that in the lower right corner of the large window, as you roll over a widget, all of them will display their channel name, and some will display their usage.
Mike