tcldoc Tcl/Tk 9.0.4
/

HomeTk Library Procedures Tk

Tk_DeleteImage C API

Destroy an image.

literal type exactly as shown argument replace with your value ?optional? may be omitted

Synopsis#

#include <tk.h>

Tk_DeleteImage(interp, name)#

Arguments#

Tcl_Interp *interp (in)

Interpreter for which the image was created.

const char *name (in)

Name of the image.

Description#

Tk_DeleteImage deletes the image given by interp and name, if there is one. All instances of that image will redisplay as empty regions. If the given image does not exist then the procedure has no effect.

Keywords#

delete image · image manager

Copyright#