[Tkinter] Placing an image on exact position
Def P
def-p at usa.net
Sun May 9 17:20:01 EDT 1999
Hello,
I've been trying to write some kind of board game in Python. I'd like to use
Tkinter for graphics. So far, I've managed to display a grid (the playing
board) in a window; however, I did not find a way to display the pieces (which
are GIF images) on the canvas the way I want it.
Looking at Demos\guido\imageview.py, apparently a Label instance is needed to
display an image? How do I display this Label in the grid (the canvas) on a
certain x,y position? Or is there another way to display images?
TIA,
____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/19990509/fdde615b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2711 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/19990509/fdde615b/attachment.gif>
More information about the Python-list
mailing list