Home
last modified time | relevance | path

Searched refs:_format_optdict (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_functions.py47 self.assertFalse(ttk._format_optdict({}))
51 ttk._format_optdict({'fg': 'blue', 'padding': [1, 2, 3, 4]}),
56 ttk._format_optdict({'test': (1, 2, '', 0)}),
61 ttk._format_optdict({'test': {'left': 'as is'}}),
66 ttk._format_optdict(
79 check_against(ttk._format_optdict(opts), {u'-αβγ': True, u'-á': False})
85 ttk._format_optdict(
89 ttk._format_optdict(
95 ttk._format_optdict(
101 ttk._format_optdict(
[all …]
/external/python/cpython2/Lib/lib-tk/
Dttk.py59 def _format_optdict(optdict, script=False, ignore=None): function
139 opts = _format_optdict(kw, script)
187 fopts = ' '.join(_format_optdict(opts, True, ("children",)))
213 s = ' '.join(_format_optdict(opts['configure'], True))
298 options = _format_optdict(options)
842 self.tk.call(self._w, "add", child, *(_format_optdict(kw)))
878 self.tk.call(self._w, "insert", pos, child, *(_format_optdict(kw)))
964 self.tk.call(self._w, "insert", pos, child, *(_format_optdict(kw)))
1334 opts = _format_optdict(kw)