PyDocs

Nav

Graphical user interfaces with Tk

Image

tkinter

class
  • Image(imgtype, name=None, cnf={}, master=None, **kw)
Base class for Tk images. imgtype is the Tk image type, one of 'photo' or 'bitmap'. An image is a named object that can be displayed by widgets through their image option; deleting all references to the Image object deletes the underlying Tk image. Usually you create a PhotoImage or BitmapImage rather than an Image directly.
Members of Image

c

config
Modify one or more configuration options of the image.
configure
Modify one or more configuration options of the image.

h

height
Return the height of the image, in pixels.

t

type
Return the type of the image, that is the value of imgtype with which it was created (for example 'photo' or 'bitmap').

w

width
Return the width of the image, in pixels.
0 Examples
No examples for tkinter/Image.
See Also
No see-alsos for tkinter/Image
0 Notes
No notes for Image