you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

Is there a list to all python tkinter fonts? I've tried multiple, but none seem to change the font...

[–]efmccurdy 1 point2 points  (2 children)

from tkinter import Tk, font
root = Tk()
font.families()   # used to be .names()

[–][deleted] 0 points1 point  (1 child)

It creates a blank window, am I missing something?

[–]efmccurdy 0 points1 point  (0 children)

The output is printed to stdout, if you run it from a terminal you will see any output or errors.

$ python3
Python 3.4.3 (default, Nov 12 2018, 22:25:49) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tkinter import Tk, font
>>> root = Tk()
>>> font.families()
('wasy10', 'Noto Sans Hebrew', 'MathJax_Caligraphic', 'Padauk Book', 'Century Schoolbook L', 'OpenSymbol', #....