Adds a button with text affixed by default to the screen.
| <viz>.addButtonLabel( | |
| value | |
| scene = viz.MainScene | |
| parent = viz.SCREEN |
)
value
A string to be displayed on the button such as 'submit'.
scene = viz.MainScene
If the parent is viz.WORLD, viz.SCREEN, or viz.HEAD, then the argument represents the scene to add the object to.
If the parent is viz.ORTHO, then the argument represents the window to add the object to.
If the parent is a valid node3d object, then the argument is ignored.
parent = viz.SCREEN
viz.WORLD
viz.SCREEN
viz.HEAD
viz.ORTHO
<node3d> object
A button label behaves similar to a button object, except it contains a text message.
<node3d:GUI:buttonlabel> object
<viz>.addButton
<viz>.addCheckbox
<viz>.addDropList
<viz>.addProgressBar
<viz>.addRadioButton
<viz>.addSlider
<viz>.addText
<viz>.addTextbox