Python Tkinter font selection

I am trying to write a simple notepad with Tkinter. And I need a font selection. So my question is: is there one? and if not, where can I get it?

Thanks.

+4
source share
1 answer

Tk (and Tkinter) does not have a choice of fonts in the default distribution. You will need to create your own. Here is an example I found: Tkinter FontChooser

Note: Tk 8.6 will have a font-building dialog: FontChooser

+4
source

All Articles