Home
last modified time | relevance | path

Searched refs:_val_or_dict (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_ttk_textonly.py413 self.assertEqual(ttk._val_or_dict(tk, {}, '-test:3'),
415 self.assertEqual(ttk._val_or_dict(tk, {}, ('-test', 3)),
418 self.assertEqual(ttk._val_or_dict(tk, {'test': None}, 'x:y'),
421 self.assertEqual(ttk._val_or_dict(tk, {'test': 3}, 'x:y'),
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_functions.py410 self.assertEqual(ttk._val_or_dict(tk, {}, '-test:3'),
412 self.assertEqual(ttk._val_or_dict(tk, {}, ('-test', 3)),
415 self.assertEqual(ttk._val_or_dict(tk, {'test': None}, 'x:y'),
418 self.assertEqual(ttk._val_or_dict(tk, {'test': 3}, 'x:y'),
/external/python/cpython2/Lib/lib-tk/
Dttk.py290 def _val_or_dict(tk, options, *args): function
386 return _val_or_dict(self.tk, kw, self._name, "configure", style)
899 return _val_or_dict(self.tk, kw, self._w, "tab", tab_id)
976 return _val_or_dict(self.tk, kw, self._w, "pane", pane)
1215 return _val_or_dict(self.tk, kw, self._w, "column", column)
1274 return _val_or_dict(self.tk, kw, self._w, 'heading', column)
1353 return _val_or_dict(self.tk, kw, self._w, "item", item)
1453 return _val_or_dict(self.tk, kw, self._w, "tag", "configure",
/external/python/cpython3/Lib/tkinter/
Dttk.py289 def _val_or_dict(tk, options, *args): function
380 result = _val_or_dict(self.tk, kw, self._name, "configure", style)
896 return _val_or_dict(self.tk, kw, self._w, "tab", tab_id)
973 return _val_or_dict(self.tk, kw, self._w, "pane", pane)
1240 return _val_or_dict(self.tk, kw, self._w, "column", column)
1299 return _val_or_dict(self.tk, kw, self._w, 'heading', column)
1378 return _val_or_dict(self.tk, kw, self._w, "item", item)
1483 return _val_or_dict(self.tk, kw, self._w, "tag", "configure",