represents a radio button whose setting x is set to val when the button is clicked.
is displayed as when x is val, and as otherwise.
takes the setting to be the dynamically updated current value of x, with the value of x being reset if the button is clicked.
Details and Options
- RadioButton is effectively a special case of Setter. »
- Radio buttons representing several mutually exclusive choices can be created by having several RadioButton[Dynamic[x],vali] with the same x but different vali. »
- RadioButton is equivalent to RadioButton[False,True].
Examplesopen allclose all
By default RadioButton is enabled:
By setting Enabled->False, the radio button is disabled, but visible in its current state:
Increase the clickable area of RadioButton:
Properties & Relations (2)
RadioButtonBar uses RadioButton with the same variable:
RadioButton is a special case of Setter:
Wolfram Research (2007), RadioButton, Wolfram Language function, https://reference.wolfram.com/language/ref/RadioButton.html.
Wolfram Language. 2007. "RadioButton." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RadioButton.html.
Wolfram Language. (2007). RadioButton. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RadioButton.html