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

Method _configure

Lib/tkinter/__init__.py:1829–1839  ·  view source on GitHub ↗

Internal function.

(self, cmd, cnf, kw)

Source from the content-addressed store, hash-verified

1827 return (x[0][1:],) + x[1:]
1828
1829 def _configure(self, cmd, cnf, kw):
1830 """Internal function."""
1831 if kw:
1832 cnf = _cnfmerge((cnf, kw))
1833 elif cnf:
1834 cnf = _cnfmerge(cnf)
1835 if cnf is None:
1836 return self._getconfigure(_flatten((self._w, cmd)))
1837 if isinstance(cnf, str):
1838 return self._getconfigure1(_flatten((self._w, cmd, '-'+cnf)))
1839 self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
1840 # These used to be defined in Widget:
1841
1842 def configure(self, cnf=None, **kw):

Callers 7

configureMethod · 0.95
itemconfigureMethod · 0.45
itemconfigureMethod · 0.45
entryconfigureMethod · 0.45
image_configureMethod · 0.45
tag_configureMethod · 0.45
window_configureMethod · 0.45

Calls 6

_getconfigureMethod · 0.95
_getconfigure1Method · 0.95
_optionsMethod · 0.95
_cnfmergeFunction · 0.85
_flattenFunction · 0.70
callMethod · 0.45

Tested by

no test coverage detected