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