MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / actual

Method actual

tools/python-3.11.9-amd64/Lib/tkinter/font.py:129–139  ·  view source on GitHub ↗

Return actual font attributes

(self, option=None, displayof=None)

Source from the content-addressed store, hash-verified

127 return Font(self._tk, **self.actual())
128
129 def actual(self, option=None, displayof=None):
130 "Return actual font attributes"
131 args = ()
132 if displayof:
133 args = ('-displayof', displayof)
134 if option:
135 args = args + ('-' + option, )
136 return self._call("font", "actual", self.name, *args)
137 else:
138 return self._mkdict(
139 self._split(self._call("font", "actual", self.name, *args)))
140
141 def cget(self, option):
142 "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
_callMethod · 0.80
_splitMethod · 0.80

Tested by 2

test_actualMethod · 0.64
test_get_fontMethod · 0.64