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

Method cget

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

Get font attribute

(self, option)

Source from the content-addressed store, hash-verified

139 self._split(self._call("font", "actual", self.name, *args)))
140
141 def cget(self, option):
142 "Get font attribute"
143 return self._call("font", "config", self.name, "-"+option)
144
145 def config(self, **options):
146 "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.80

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