目录
五、案例3、选中RadioButton触发命令输出其绑定的内容
一、RadioButton简介
单选按钮是一个 Python Tkinter GUI 小控件,它允许用户仅选择一组预定义的互斥选项中的一个。 这与 CheckButton形成对比,CheckButton允许您选择多个,RadioButton只能选择一个。
二、RadioButton语法及其参数
Syntax
Rbttn = Radiobutton(master, option..........)
Below is a compilation of all the main options available for Radio Buttons.
No. | Option | Description |
---|---|---|
1 | activebackground | Color of the background when widget is under focus. |
2 |