From ecb1a65f63ad12f7e789f1c6f9a8f5b9291d6613 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 26 Mar 1999 16:11:40 +0000 Subject: Helpwin.__init__(): The text widget should get focus. --- Tools/pynche/PyncheWidget.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v0.12