Searched refs:_format_mapdict (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_ttk_textonly.py | 133 result = ttk._format_mapdict(opts) 136 self.assertEqual(ttk._format_mapdict(opts, script=True), 139 self.assertEqual(ttk._format_mapdict({2: []}), ('-2', '')) 142 result = ttk._format_mapdict(opts) 145 self.assertEqual(ttk._format_mapdict({'opt': [('value',)]}), 150 self.assertEqual(ttk._format_mapdict(valid), ('-opt', '{ } hi')) 154 self.assertRaises(TypeError, ttk._format_mapdict, invalid) 156 self.assertRaises(TypeError, ttk._format_mapdict, invalid) 159 self.assertEqual(ttk._format_mapdict(valid), ('-opt', '1 value')) 163 self.assertEqual(ttk._format_mapdict(vali [all...] |
/third_party/python/Lib/tkinter/ |
H A D | ttk.py | 79 def _format_mapdict(mapdict, script=False): function 196 s = ' '.join(_format_mapdict(opts['map'], True)) 226 accepted statespec accepted by _format_mapdict.""" 375 result = self.tk.call(self._name, "map", style, *_format_mapdict(kw))
|
Completed in 3 milliseconds