【发布时间】:2021-06-05 15:44:46
【问题描述】:
我目前正在尝试创建一个可以通过定义 (def) 隐藏或显示的按钮。
root.Tk()
c = Canvas(root, wodth=1600, Height=100, bg='black')
root.attributes('-fullscreen', True)
c.pack
b = Button(c, text='I want to by unvisiblie')
b.place(x=210, y=88)
root.after(1)
你能帮帮我吗?我该怎么做(请不要自行命令)? 谢谢
【问题讨论】:
标签: python tkinter button canvas