哪里可以找到如何使用Canvas.configure()的介绍?
我看到了一些示例代码:
from tkinter import HIDDEN, NORMAL, Tk, Canvas
root = Tk()
c = Canvas(root, width=400, height=400)
c.configure(bg='dark blue', highlightthickness=0)
c.pack()
root.mainloop()
问题: 哪里可以找到Canvas.configure
的用法?我翻遍了Python的在线文档,但没有找到。我在网上google了一下也没有找到。我只找到了.itemconfigure
。如果你能告诉我如何检查Canvas
的所有方法就更好了。
I saw some sample codes:
from tkinter import HIDDEN, NORMAL, Tk, Canvas
root = Tk()
c = Canvas(root, width=400, height=400)
c.configure(bg='dark blue', highlightthickness=0)
c.pack()
root.mainloop()
Question:
Where to find the usage of Canvas.configure
? I looked through Python's Online Documentation, but did not find it. I googled it online and did not find it either. I only found .itemconfigure
. It would be even better if you can tell me how to check all the methods of Canvas
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论