按钮控件的创建:
w = Button(parent, option=value, ...)
可选项:
activebackground:
activeforeground:
anchor:
bd or borderwidth:
bg or background:
bitmap:
command:
cursor:
default:
disabledforeground:
fg or foreground:
font:
height:
highlightbackground:
highlightcolor:
highlightthickness:
image:
justify:
overrelief:
padx:
pady:
relief:
repeatdelay:
repeatinterval:
state:
takefocus:
text:
textvariable:
underline:
width:
wraplength:
可用方法:
flash():
invoke():
示例代码:
(注:)运行时可能需要删除中文字符