This basic example shows how to use the selection list widged (aka. dropdown widget) and how to define items at script runtime.
Suppose you have created a script dialog that contains a Selection -> Selection element
widget with a widget name list
.
Then, you can define the items of this dropdown menu by script:
DIALOG.list.items = ['yes', 'we', 'can']
- How-to: User-defined Dialogs