pythonware.com products ::: library ::: search ::: daily Python-URL!
   

Options

Back   Next   

 Options

The image item supports the following options, via the create_image method, and the itemconfig and itemcget configuration methods.

Table 16-1. Canvas Image Options

Option

Type

Description

image

image

The image object (a Tkinter PhotoImage or BitmapImage instance, or instances of the corresponding Python Imaging Library classes).

anchor

constant

Specifies which part of the image that should be placed at the given position. Use one of N, NE, E, SE, S, SW, W, NW, or CENTER. Default is CENTER.

tags

tuple

One or more tags to associate with this item. If only a single tag is to be used, you can use a single string instead of a tuple of strings.

Back   Next