Message13035
Logged In: YES
user_id=38376
MvL wrote: As there appears to be agreement that the
current behaviour cannot be changed, I'd like to propose
the attached image.txt as a patch.
+1 from here.
I should probably write an essay some day on why the
current behaviour is the only one that makes sense if
you consider all common use cases -- if you don't do it
this way, you either end up with leaks, code that works
only by accident, or code that is a lot more convoluted
than the simple assignment that is necessary to work
around this problem in real life:
photo = PhotoImage(...)
widget = Label(master, photo=photo)
widget._photo = photo # keep a reference
martin has already covered most other issues.
</F>
|
|
Date |
User |
Action |
Args |
2007-08-23 14:07:46 | admin | link | issue632323 messages |
2007-08-23 14:07:46 | admin | create | |
|