Adds radio buttons to the specified group.
| <viz>.addRadioButton( | |
| group | |
| scene = viz.MainScene | |
| parent = viz.SCREEN |
)
group
The group name the radio button belongs to.
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
Only one radio button per group can be selected at a time. When a radio button is selected it will generate a viz.BUTTON_EVENT
<node3d:GUI:button> object
<viz>.addButton
<viz>.addButtonLabel
<viz>.addCheckbox
<viz>.addDropList
<viz>.addProgressBar
<viz>.addSlider
<viz>.addText
<viz>.addTextbox