python图形页面:button按钮操作函数

button组件创建代码语言:javascript代码运行次数:0运行复制

from tkinter import *windows = Tk()windows.title("test")windows.configure(bg="blue")button1 = Button(windows, text="按钮")button1.pack()windows.mainloop()

登录后复制

文章来自互联网,不代表电脑知识网立场。发布者:,转载请注明出处:https://www.pcxun.com/n/629420.html

(0)
上一篇 2025-05-21 08:35
下一篇 2025-05-21 08:35

相关推荐