Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_functions.py231 return ttk._format_layoutlist(
254 self.assertEqual(ttk._format_layoutlist([])[0], '')
257 smallest = ttk._format_layoutlist([('a', None)], indent=0)
259 ttk._format_layoutlist([('a', '')], indent=0))
272 self.assertRaises(ValueError, ttk._format_layoutlist,
274 self.assertRaises(TypeError, ttk._format_layoutlist, None)
278 ttk._format_layoutlist, [('a', 'b')])
280 self.assertRaises(ValueError, ttk._format_layoutlist,
/external/python/cpython2/Lib/lib-tk/
Dttk.py154 def _format_layoutlist(layout, indent=0, indent_size=2): function
193 newscript, indent = _format_layoutlist(opts['children'], indent,
224 s, _ = _format_layoutlist(opts['layout'])
453 lspec = _format_layoutlist(layoutspec)[0]