Question
Scripting: creating of dialog elements
I can create dialog elements like this:
var dlg = new Window ("dialog", "Title");
dlg.add(...);
Can I do this somehow like this:
var dlg = new Window ("dialog", "Title");
var element = .....;
*some magic*
dlg.add(element);
?