| 33 | | * .get_focus_path() method list of focus positions down to the leaf widget, skipping all decoration widgets (they only ever contain one item) |
| 34 | | * .set_focus_path(x) set the focus positions along each widget in the path. useful for restoring a value previously returned from get_focus_path(). raises IndexError on failure |
| 35 | | * .get_descendant(x) get the base_widget with path x |
| 36 | | * .__iter__() iterate over all the positions in the container in a consistent, but possibly surprising order (ListBox is currently the only widget that *might* return these in a "strange" order -- starting from focus and moving down). This may be an unbounded iterator. |
| 37 | | * .__reversed__() iterate like __iter__() but in reverse, for supporting reversed() in Python 2.6 and later. |
| | 33 | * `.get_focus_path()` method list of focus positions down to the leaf widget, skipping all decoration widgets (they only ever contain one item) |
| | 34 | * `.set_focus_path(x)` set the focus positions along each widget in the path. useful for restoring a value previously returned from get_focus_path(). raises IndexError on failure |
| | 35 | * `.get_descendant(x)` get the base_widget with path x |
| | 36 | * `.__iter__()` iterate over all the positions in the container in a consistent, but possibly surprising order (ListBox is currently the only widget that *might* return these in a "strange" order -- starting from focus and moving down). This may be an unbounded iterator. |
| | 37 | * `.__reversed__()` iterate like `__iter__()` but in reverse, for supporting reversed() in Python 2.6 and later. |