Internal function.
(self, cmd, cnf, kw)
| 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): |
no test coverage detected