diff options
| author | Ian Ward <ian@excess.org> | 2012-03-07 08:10:40 -0500 |
|---|---|---|
| committer | Ian Ward <ian@excess.org> | 2012-03-07 08:10:40 -0500 |
| commit | fc3dfa9b81571420480156caeadfeca2ecfbae03 (patch) | |
| tree | f3cd100c5f3b09e6b3a53ed30cf2bf46d79e80c1 /urwid/container.py | |
| parent | 7ce836b5e5088ad3c34fca9ceba09f933f61a55e (diff) | |
| download | urwid-ftr-containers.tar.gz | |
tests and fix for set/get_focus_pathftr-containers
--HG--
branch : feature-containers
Diffstat (limited to 'urwid/container.py')
| -rwxr-xr-x | urwid/container.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urwid/container.py b/urwid/container.py index 80f271f..d112a50 100755 --- a/urwid/container.py +++ b/urwid/container.py @@ -63,7 +63,7 @@ class WidgetContainerMixin(object): p = w.focus_position except IndexError: return out - out.append[p] + out.append(p) w = w.focus.base_widget def set_focus_path(self, positions): @@ -71,7 +71,7 @@ class WidgetContainerMixin(object): Set the .focus_position property starting from this container widget and proceeding along newly focused child widgets. Any failed assignment due do incompatible position types or invalid - positions will raise a IndexError. + positions will raise an IndexError. This method may be used to restore a particular widget to the focus by passing in the value returned from an earlier call to |
