---
name: "NameOfImg"
section: "3tk"
platform: "linux"
package: "tk8.3-doc"
version: "8.3.5-14"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/NameOfImg/3tk"
---

# NameOfImg(3tk)

Return name of image.

```

```

## NAME

Tk\_NameOfImage - Return name of image.

## SYNOPSIS

```
#include <tk.h>

char *
Tk_NameOfImage(typePtr)
```

## ARGUMENTS

- Tk\_ImageMaster *\*masterPtr* (in)

  Token for image, which was passed to image manager's *createProc* when the image was created.

  ```

  ```

## DESCRIPTION

This procedure is invoked by image managers to find out the name of an image.  Given the token for the image, it returns the string name for the image.

## KEYWORDS

image manager, image name
