From: Barry Warsaw Date: Fri, 26 Mar 1999 16:11:40 +0000 (+0000) Subject: Helpwin.__init__(): The text widget should get focus. X-Git-Tag: v1.5.2c1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecb1a65f63ad12f7e789f1c6f9a8f5b9291d6613;p=thirdparty%2FPython%2Fcpython.git Helpwin.__init__(): The text widget should get focus. --- diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py index 6e158afcb93f..5e691ece29a8 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)