summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Ward <ian@excess.org>2014-01-04 21:40:06 -0500
committerIan Ward <ian@excess.org>2014-01-04 21:40:06 -0500
commite93fe1074e6c762df55fce349d2d895a0452af79 (patch)
tree838b28a67f44cf9db89277896ab34efd5451e69b
parentc065becdb75ec68fea48047897a9e82869b50dfd (diff)
downloadurwid-e93fe1074e6c762df55fce349d2d895a0452af79.tar.gz
fix #46: better MonitoredFocusList callback docs
-rwxr-xr-xurwid/monitored_list.py4
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])