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

Method cget

Lib/tkinter/font.py:142–144  ·  view source on GitHub ↗

Get font attribute

(self, option)

Source from the content-addressed store, hash-verified

140 self._split(self._call("font", "actual", self.name, *args)))
141
142 def cget(self, option):
143 "Get font attribute"
144 return self._call("font", "config", self.name, "-"+option)
145
146 def config(self, **options):
147 "Modify font attributes"

Callers 15

__getitem__Method · 0.95
test_unicode_familyMethod · 0.95
font.pyFile · 0.45
checkParamMethod · 0.45
test_configureMethod · 0.45
_selection_changedMethod · 0.45
show_windowMethod · 0.45
make_guiMethod · 0.45
get_widget_paddingFunction · 0.45
__init__Method · 0.45
toggle_levelMethod · 0.45

Calls 1

_callMethod · 0.45

Tested by 8

test_unicode_familyMethod · 0.76
checkParamMethod · 0.36
test_configureMethod · 0.36
runFunction · 0.36
test_initMethod · 0.36
test_horiz_scrollbarMethod · 0.36
test_nowrapMethod · 0.36
get_sidebar_colorsMethod · 0.36