Description Usage Arguments Details Value Author(s) See Also
These functions read image files on disk and create Tk image resources.
1 2 3 |
file |
image file from where to download the resource. |
type |
type of image. Currently, only 'gif' is supported. |
update |
do we update an already loaded image resource, or not? |
image |
name of an image. |
dir |
the directory that contains one or more image files to read. |
These functions should not be called directly, but by means of
imgAdd()
, imgDel()
or imgRead()
.
tkImgAdd()
returns the handle to the newly created image invisibly.
tkImgDel()
returns invisibly TRUE
if the resource is found and
deleted, FALSE
otherwise.
tkImgRead()
returns invisibly the list of image files that are imported
as resources.
Philippe Grosjean
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.