Message60650
sys.version == '2.3.3a0 (#3, Jul 20 2004, 10:32:48)
\n[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)]'
from ScrolledText import ScrolledText
s = ScrolledText()
s.pack()
I wish to call bbox on the Text, but s.bbox is the
surrounding Frame's bbox, and the Text's bbox method is
lost. I suppose these lines from ScrolledText.py should
be expanded to include 'bbox', but I have not tested
such a fix:
if m[0] != '_' and m != 'config' and m !=
'configure':
setattr(self, m, getattr(self.frame, m))
For special situations (of which bbox is probably *not*
one), the Text methods should probably be available
under something like s.text.bbox(). |
|
Date |
User |
Action |
Args |
2008-01-20 09:57:28 | admin | link | issue1119673 messages |
2008-01-20 09:57:28 | admin | create | |
|