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

<node3d:GUI>.disable

Disable GUI object

<node3d:GUI>.disable()  

Remarks

This will prevent the user from using the mouse to change the value of the GUI object.

Return Value

None

Example

slider = viz.addSlider()
#Prevent the user from moving the slider
slider.disable()

See also

<node3d:GUI>.enable
<node3d:GUI>.getEnabled