diff options
author | Barry Warsaw <barry@python.org> | 1999-03-26 16:11:40 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1999-03-26 16:11:40 (GMT) |
commit | ecb1a65f63ad12f7e789f1c6f9a8f5b9291d6613 (patch) | |
tree | d86d412f20f13c9365ffbb84955e8310117ee61d /Tools | |
parent | 61ba0721db1d3f31beb6a04dd8983114d1ee9d5b (diff) | |
download | cpython-ecb1a65f63ad12f7e789f1c6f9a8f5b9291d6613.zip cpython-ecb1a65f63ad12f7e789f1c6f9a8f5b9291d6613.tar.gz cpython-ecb1a65f63ad12f7e789f1c6f9a8f5b9291d6613.tar.bz2 |
Helpwin.__init__(): The text widget should get focus.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/pynche/PyncheWidget.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py index 6e158af..5e691ec 100644 --- a/Tools/pynche/PyncheWidget.py +++ b/Tools/pynche/PyncheWidget.py @@ -227,6 +227,7 @@ class Helpwin: self.__text = text = Text(root, relief=SUNKEN, width=80, height=24) + self.__text.focus_set() text.insert(0.0, contents) scrollbar = Scrollbar(root) scrollbar.pack(fill=Y, side=RIGHT) |