This is an unofficial mirror of Tkinter reference documentation (based on Python 2.7 and Tk 8.5) created by the late John Shipman.
It was last updated in 2013 and is unmaintained. [More info]
To display a graphics image on a canvas
This constructor returns the integer ID number of the image object for that canvas.
The image is positioned relative to point (
). Options include:
Canvas image options
Image to be displayed when the mouse is over the
item. For option values, see |
The default is |
Image to be displayed when the item is inactive.
For option values, see |
|The image to be displayed. See Section 5.9, “Images”, above, for information about how to create images that can be loaded onto canvases.|
Normally, image objects are created in state
If a single string, the image is tagged with that
string. Use a tuple of strings to tag the image
with multiple tags. See Section 8.4, “|