pythonware.com | products ::: library ::: search ::: daily Python-URL! |
The Canvas Image ItemChapter 16. The Canvas Image ItemThe image item draws an image on the canvas. photo = PhotoImage(file="sample.gif") item = canvas.create_image(10, 10, anchor=NW, image=photo) MethodsThe following methods are used to create and configure image items:
coordscoords(item, x0, y0). Move one or more image items. itemconfigureitemconfigure(item, options...). Change the options for one or more image (or other) items. |