Python Tkinter Font Chooser

梦想与她 提交于 2020-01-29 13:24:14

问题


I'm trying to write simple notepad with Tkinter. And I need some font chooser. So my question is: is there included one? and if there isn't, where can I get one?

Thanks.


回答1:


Tk (and Tkinter) doesn't have any font chooser in the default distribution. You'll need to create your own. Here is an example I found: Tkinter FontChooser

Note: Tk 8.6 will have a build in font chooser dialog: FontChooser



来源:https://stackoverflow.com/questions/5870863/python-tkinter-font-chooser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!