get ( image, master )
Get image from standard locations.
get(image, master) => TkImage
image can be either a filename (or URL) or a Image.Image. Filenames
are searched for by chimera.findfile(). Master is the widget the
result TkImage will be created for. The master is needed for the Tk
interpreter to place the image in and to find out the background color
to blend the image with if it is semi-transparent.
Exceptions
|
|
IOError, ( 2, 'No such file or directory: %s' % image )
TypeError, "image must be filename or Image"
|
|