From: Fernando P. <Fer...@co...> - 2006-01-30 06:24:44
|
Hi Ted, Ted Drain wrote: > Fernando, > This looks like you're using the Tk backend. This is one of the problems > with trying to use a very common method name in widgets like > resize(). Different GUI packages can define it differently. It looks like > Tk uses this for it's resize event handling while Gtk and Qt use resize( w, > h ) for controlling size and other method names for the event handling like > resizeEvent(). > > After some digging, I think this looks like it might be a bug (or at least > a head ache) in the Tk backend design. In backend_bases.py, there is this > code: [snip detailed look at the problem] Thanks for the detective work: I was mostly reporting the issue as a TkAgg backend user. I certainly hope that the backend developers can use your info and track this problem down in a clean manner, as this is obviously broken, but I don't know anything about Tk either (I just use it), so I'm afraid I won't be the one doing the work :) Cheers, f |