SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
Tkinter.PhotoImage Class Reference

Widget which can display colored images in GIF, PPM/PGM format. More...

Inheritance diagram for Tkinter.PhotoImage:
Tkinter.Image

Methods defined here:

def __getitem__
def __init__
def blank
def cget
def copy
def get
def put
def subsample
def write
def zoom

Methods inherited from Image:

def __del__
def __setitem__
def __str__
def configure
def configure
def height
def type
def width

Additional Inherited Members

- Public Member Functions inherited from Tkinter.Image

Detailed Description

Widget which can display colored images in GIF, PPM/PGM format.

Constructor & Destructor Documentation

def Tkinter.PhotoImage.__init__ (   args)
 Create an image with NAME.
 
 Valid resource names: data, format, file, gamma, height, palette,
 width.

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.__del__ (   args)
 __del__(args)

Reimplemented from Tkinter.Image.

Member Function Documentation

def Tkinter.PhotoImage.__getitem__ (   args)
 # XXX config

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.__setitem__ (   args)
 __setitem__(args)

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.__str__ (   args)
 __str__(args)

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.blank (   args)
 Display a transparent image.
def Tkinter.PhotoImage.cget (   args)
 Return the value of OPTION.
def Tkinter.PhotoImage.configure (   args)
 Configure the image.

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.configure (   args)
 Configure the image.

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.copy (   args)
 Return a new PhotoImage with the same image as this widget.
def Tkinter.PhotoImage.get (   args)
 Return the color (red, green, blue) of the pixel at X,Y.
def Tkinter.PhotoImage.height (   args)
 Return the height of the image.

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.put (   args)
 Put row formatted colors to image starting from
 position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))
def Tkinter.PhotoImage.subsample (   args)
 Return a new PhotoImage based on the same image as this widget
 but use only every Xth or Yth pixel.
def Tkinter.PhotoImage.type (   args)
 Return the type of the imgage, e.g. "photo" or "bitmap".

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.width (   args)
 Return the width of the image.

Reimplemented from Tkinter.Image.

def Tkinter.PhotoImage.write (   args)
 Write image to file FILENAME in FORMAT starting from
 position FROM_COORDS.
def Tkinter.PhotoImage.zoom (   args)
 Return a new PhotoImage with the same image as this widget
 but zoom it with X and Y.