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

Method actual

Lib/tkinter/font.py:130–140  ·  view source on GitHub ↗

Return actual font attributes

(self, option=None, displayof=None)

Source from the content-addressed store, hash-verified

128 return Font(self._tk, **self.actual())
129
130 def actual(self, option=None, displayof=None):
131 "Return actual font attributes"
132 args = ()
133 if displayof:
134 args = ('-displayof', displayof)
135 if option:
136 args = args + ('-' + option, )
137 return self._call("font", "actual", self.name, *args)
138 else:
139 return self._mkdict(
140 self._split(self._call("font", "actual", self.name, *args)))
141
142 def cget(self, option):
143 "Get font attribute"

Callers 6

copyMethod · 0.95
findfontMethod · 0.95
font.pyFile · 0.80
test_actualMethod · 0.80
GetFontMethod · 0.80
test_get_fontMethod · 0.80

Calls 3

_mkdictMethod · 0.95
_splitMethod · 0.80
_callMethod · 0.45

Tested by 2

test_actualMethod · 0.64
test_get_fontMethod · 0.64