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

<node3d:GUI:droplist>.getItems

Returns a list of items in the droplist.

<node3d:GUI:droplist>.getItems()  

Remarks

This command will return a list of all the items in the droplist.

Return Value

A list of strings.

Example

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