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

Method actual

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 3

copyMethod · 0.95
font.pyFile · 0.80
check_ageMethod · 0.80

Calls 3

_mkdictMethod · 0.95
_splitMethod · 0.80
_callMethod · 0.45

Tested by

no test coverage detected