summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-tk/ScrolledText.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/Lib/lib-tk/ScrolledText.py b/Lib/lib-tk/ScrolledText.py
index 866da3a..5d92734 100644
--- a/Lib/lib-tk/ScrolledText.py
+++ b/Lib/lib-tk/ScrolledText.py
@@ -33,7 +33,11 @@ class ScrolledText(Text):
self['yscrollcommand'] = self.vbar.set
self.vbar['command'] = self.yview
- # Copy Pack methods of self.frame -- hack!
- for m in Pack.__dict__.keys():
+ # Copy geometry methods of self.frame -- hack!
+ methods = Pack.__dict__.keys()
+ methods = methods + Grid.__dict__.keys()
+ methods = methods + Place.__dict__.keys()
+
+ for m in methods:
if m[0] != '_' and m != 'config' and m != 'configure':
setattr(self, m, getattr(self.frame, m))