0

每次运行 Tkinter 程序时,我都会在 shell 中收到此消息:

WARNING: Appearance colours are not either supported with the current tkinter or the colors doesn't exist on this Mac.

例子

但是,颜色有效,我的按钮看起来不错:

roll=Button(window, text="Roll the Dice", background="red", fg="white", activebackground='#00FF00',font=("Calibri",(30)), width =180, height = 55, borderless=1)

虽然这不是错误...

谢谢

4

0 回答 0