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

Method _configure

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:1701–1711  ·  view source on GitHub ↗

Internal function.

(self, cmd, cnf, kw)

Source from the content-addressed store, hash-verified

1699 return (x[0][1:],) + x[1:]
1700
1701 def _configure(self, cmd, cnf, kw):
1702 """Internal function."""
1703 if kw:
1704 cnf = _cnfmerge((cnf, kw))
1705 elif cnf:
1706 cnf = _cnfmerge(cnf)
1707 if cnf is None:
1708 return self._getconfigure(_flatten((self._w, cmd)))
1709 if isinstance(cnf, str):
1710 return self._getconfigure1(_flatten((self._w, cmd, '-'+cnf)))
1711 self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
1712 # These used to be defined in Widget:
1713
1714 def configure(self, cnf=None, **kw):

Callers 8

configureMethod · 0.95
entryconfigureMethod · 0.45
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
callMethod · 0.80
_flattenFunction · 0.70

Tested by

no test coverage detected