目录
三、案例1:MenuButton控件添加三个checkButton
四、案例2:MenuButton控件添加三个radioButton,并输出其绑定的值
一、MenuButton简介
- MenuButton控件在被按下时,弹出下拉菜单。 下拉菜单里面可以放置radioButton或者checkButton。
二、MenuButton语法及其参数
Menu Button Syntax:
MenuBttn = Menubutton(master, option..... )
Menu Buttons Options
A complete list of options for the Tkinter Menu Button. Note however, that some will only work with the newer “ttk” version. A short segment on this is included at the end of the tutorial.
No. | Option | Description |
---|---|---|
1 | activebackgrou |