Vizard 7 » Command Index » Vizard objects » node3d » <node3d:GUI:droplist>.addItems
7.6

<node3d:GUI:droplist>.addItems

This action will add a list of items to the droplist.

<node3d:GUI:droplist>.addItems(  
items  
)  
items
List of strings

Remarks

Adds a list of items to the end of the drop list.

Return Value

None

Example

list = viz.addDropList()
list.setPosition(.5,.5)
options = ['A','B','C','D']
list.addItems(options)