diff options
author | Ian Ward <ian@excess.org> | 2014-01-04 21:40:06 -0500 |
---|---|---|
committer | Ian Ward <ian@excess.org> | 2014-01-04 21:40:06 -0500 |
commit | e93fe1074e6c762df55fce349d2d895a0452af79 (patch) | |
tree | 838b28a67f44cf9db89277896ab34efd5451e69b | |
parent | c065becdb75ec68fea48047897a9e82869b50dfd (diff) | |
download | urwid-e93fe1074e6c762df55fce349d2d895a0452af79.tar.gz |
fix #46: better MonitoredFocusList callback docs
-rwxr-xr-x | urwid/monitored_list.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/urwid/monitored_list.py b/urwid/monitored_list.py index 1a098c8..86d749e 100755 --- a/urwid/monitored_list.py +++ b/urwid/monitored_list.py @@ -139,7 +139,9 @@ class MonitoredFocusList(MonitoredList): the index passed is ignored. This function may call self._focus_changed when the focus - is actually modified. That method may be overridden on the + is modified, passing the new focus position to the + callback just before changing the old focus setting. + That method may be overridden on the instance with set_focus_changed_callback(). >>> ml = MonitoredFocusList([9, 10, 11]) |