MCPcopy Index your code
hub / github.com/python/cpython / nametofont

Function nametofont

Lib/tkinter/font.py:19–22  ·  view source on GitHub ↗

Given the name of a tk named font, returns a Font representation.

(name, root=None)

Source from the content-addressed store, hash-verified

17
18
19def nametofont(name, root=None):
20 """Given the name of a tk named font, returns a Font representation.
21 """
22 return Font(name=name, exists=True, root=root)
23
24
25class Font:

Callers

nothing calls this directly

Calls 1

FontClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…