Image not displaying in Text widget
Fredrik Lundh
fredrik at pythonware.com
Fri Mar 2 06:02:52 EST 2007
Sudipta Chatterjee wrote:
> I am facing a strange problem when I try to embed images in a text widget.
> After reading the file via PhotoImage() and then using
> text.image_create(INSERT,
> image=img), I get a blank place instead of the image. The size of the blank
> area under highlighting via the mouse select comes to exactly the size of
> the image itself, but the contents of the image are not displaying.
>
> I have pack() -ed the text widget already and text around this
> image_create() function are displaying just fine. But the image's contents
> just don't show up! :(
http://effbot.org/pyfaq/why-do-my-tkinter-images-not-appear.htm
</F>
More information about the Python-list
mailing list