This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author drewp
Recipients
Date 2005-02-09.22:36:40
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=127598

A workaround:

s = ScrolledText()
new.instancemethod(Text.bbox,s,s.__class__)(...)

but, I actually have a subclass of ScrolledText, and I can't
figure out how to use the workaround. 

class Foo(ScrolledText):
...  def foo(self):   
... ... new.instancemethod(tk.Text.bbox, self,
self.__class__)("insert")

TypeError: unbound method bbox() must be called with Text
instance as first argument (got Foo instance instead)
History
Date User Action Args
2008-01-20 09:57:29adminlinkissue1119673 messages
2008-01-20 09:57:29admincreate