Vizard 7 » Command Index » Vizard objects » node3d » <node3d:GUI:button>.set
7.6

<node3d:GUI:button>.set

This action will set the state of the Button or Checkbox

<node3d:GUI:button>.set(  
state  
)  
state
Can be either viz.DOWN or viz.UP

Remarks

If viz.DOWN is specified then the Button or Checkbox will be put in the down state. If viz.UP is specified then the Button or Checkbox will be put in the up state

Return Value

None

Example

button = viz.addButton()
button.set(viz.DOWN)

See also

<node3d:GUI:button>.get