summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-12-13 14:48:13 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-12-13 14:48:13 (GMT)
commite9859df7980e87f1dbad63fa22250a2e212327a4 (patch)
tree3c9e147232c19816135e69ff7a684e18bfb03742 /Lib
parent358076f3e4251c49ae028b81f031fc9f8287ec28 (diff)
downloadcpython-e9859df7980e87f1dbad63fa22250a2e212327a4.zip
cpython-e9859df7980e87f1dbad63fa22250a2e212327a4.tar.gz
cpython-e9859df7980e87f1dbad63fa22250a2e212327a4.tar.bz2
Issue 3248: Allow placing ScrolledText in a PanedWindow.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-tk/ScrolledText.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/lib-tk/ScrolledText.py b/Lib/lib-tk/ScrolledText.py
index 367aa89..89c4366 100644
--- a/Lib/lib-tk/ScrolledText.py
+++ b/Lib/lib-tk/ScrolledText.py
@@ -41,3 +41,6 @@ class ScrolledText(Text):
for m in methods:
if m[0] != '_' and m != 'config' and m != 'configure':
setattr(self, m, getattr(self.frame, m))
+
+ def __str__(self):
+ return str(self.frame)