---
name: "TnmDialog"
section: "3tnm"
platform: "linux"
package: "scotty"
version: "4:00-02-21-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/TnmDialog"
---

# TnmDialog(3tnm)

A Tcl/Tk package of simple dialog boxes.

```

```

## NAME

TnmDialog - A Tcl/Tk package of simple dialog boxes.

```

```

## DESCRIPTION

The TnmDialog package provides a set of Tcl/Tk command procedures used to create and display simple dialogs boxes.

## USING THE PACKAGE

The TnmDialog package is loaded into a Tcl interpreter by using the following sequence of Tcl commands:

```
package require Tnm
package require TnmDialog $tnm(version)
```

All the TnmDialog commands live in the TnmDialog namespace. You can import these commands into the current namespace by using the following Tcl command:

```
namespace import TnmDialog::*
```

It is however suggested to import commands explicitely or to use the full name in scripts to avoid name clashes.

## COMMANDS

- **TnmDialog::Confirm *path bitmap text buttons***

  The **TnmDialog::Confirm** procedure displays a simple dialog which informs the user about some important conditions. It consists out of a *bitmap* (displayed on the left) and some *text* (displayed on the right). The bottom of the dialog contains a list of *buttons*. The **TnmDialog::Confirm** procedure returns the name of the button activated by the user.

- **TnmDialog::Browse *path title text buttons***

  ## SEE ALSO

[scotty(1)](/scotty/1.md), Tnm(n), [Tcl(n)](/Tcl/n.md)

## AUTHORS

Juergen Schoenwaelder \<schoenw@ibr.cs.tu-bs.de\>\
