MCPcopy Index your code
hub / github.com/RustPython/RustPython / nametofont

Function nametofont

Lib/tkinter/font.py:20–23  ·  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

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

Callers

nothing calls this directly

Calls 1

FontClass · 0.85

Tested by

no test coverage detected