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