From: Martin v. Löwis Date: Sat, 13 Dec 2008 14:48:13 +0000 (+0000) Subject: Issue 3248: Allow placing ScrolledText in a PanedWindow. X-Git-Tag: v2.5.3c1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9859df7980e87f1dbad63fa22250a2e212327a4;p=python Issue 3248: Allow placing ScrolledText in a PanedWindow. --- diff --git a/Lib/lib-tk/ScrolledText.py b/Lib/lib-tk/ScrolledText.py index 367aa89ca6..89c4366a44 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) diff --git a/Misc/NEWS b/Misc/NEWS index 435961c162..99936660cf 100644 --- 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.