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

Method _configure

Lib/tkinter/__init__.py:1802–1812  ·  view source on GitHub ↗

Internal function.

(self, cmd, cnf, kw)

Source from the content-addressed store, hash-verified

1800 return (x[0][1:],) + x[1:]
1801
1802 def _configure(self, cmd, cnf, kw):
1803 """Internal function."""
1804 if kw:
1805 cnf = _cnfmerge((cnf, kw))
1806 elif cnf:
1807 cnf = _cnfmerge(cnf)
1808 if cnf is None:
1809 return self._getconfigure(_flatten((self._w, cmd)))
1810 if isinstance(cnf, str):
1811 return self._getconfigure1(_flatten((self._w, cmd, '-'+cnf)))
1812 self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
1813 # These used to be defined in Widget:
1814
1815 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 7

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

Tested by

no test coverage detected