<node3d:GUI>.setFocus
Sets the focus of an object
| <node3d:GUI>.setFocus( | |
| value |
)
value
viz.ON
viz.OFF
Remarks
This command will give the GUI object input focus.
Return Value
None
Example
list = viz.addDropList()
list.setPosition(.5,.5)
list.addItems(['HAS','sadflj'])
list.setFocus(viz.ON)
print list.getFocus() #Returns 1
See also
<node3d:GUI>.getFocus