The source code of dojox.layout.RadioGroup
admits that it probably is poorly named, because it has little to do with radio buttons or groups of them, per se, even if this was probably the case when it was conceived.
The RadioGroup extends the StackContainer, doing something you probably had ideas about the first time you saw it adding flashy animations when changing which child container is shown.
One example of how to use StackContainer and its derivatives is an information box for a list of friends. Each information box is created as a ContentPane which loads its content from a URL. As the user clicks on or hovers over the next friend on a nearby list, an event is triggered to show the next item (ContentPane) in the stack.
Enter the RadioGroup, which defines its own set of buttons that mirror the ContentPanes which it wraps.
The unit test dojox/layout/tests/test_RadioGroup.html
defines a small RadioGroup in the following way:
<div dojoType="dojox.layout.RadioGroup" style="width...