]> granicus.if.org Git - python/commitdiff
Issue 3248: Allow placing ScrolledText in a PanedWindow.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 13 Dec 2008 14:48:13 +0000 (14:48 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 13 Dec 2008 14:48:13 +0000 (14:48 +0000)
Lib/lib-tk/ScrolledText.py
Misc/NEWS

index 367aa89ca6798b2f08552111d8a33fa0aafd9658..89c4366a44aac8311018dbc6f3a7a778bfdc3c51 100644 (file)
@@ -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)
index 435961c1625f497051c94c654db5c3762c22875d..99936660cf711d7d323bb08cf0a52ba7ac736fa5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -107,6 +107,8 @@ Core and builtins
 Library
 -------
 
+- Issue 3248: Allow placing ScrolledText in a PanedWindow.
+
 - Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to
   give correct results in the case where one argument is a quiet NaN
   and the other is a finite number that requires rounding.