Print a tree of widget names and/or classes
(root, name=True, class_= True, indent="\t")
| 320 | config_all_extended(root, selector, True, kwargs) |
| 321 | |
| 322 | def tk_print(root, name=True, class_= True, indent="\t"): |
| 323 | """Print a tree of widget names and/or classes""" |
| 324 | print(root) |
| 325 | |
| 326 | if name or class_: |
| 327 | _print_widget_tree_from(root, name, class_, 1, indent) |
| 328 | |
| 329 | def _print_widget_tree_from(root, print_names, print_classes, level, indent): |
| 330 | for child_name, child in root.children.items(): |
no test coverage detected