Tcl/Tk Path Dialog Library Module

The Tcl/Tk path dialog library module has the file name pathdlg.tcl. This module contains procedures that present a dialog used to obtain a full path from the user.

Here is a list of procedures in the this module:

- pathdlg
- read_dir
- go_up

# Module Dependencies

No other modules are required with this module.

# Module Definition Files

This module does not require any definition files.

# Module Procedures

## pathdlg

    Declaration  : proc pathdlg {start_path}
    Parameters   :
          Name   : start_path
          Type   : string
    Description  : beginning directory path

    Returns      : chosen path upon success, an empty string otherwise

This procedure will present a modal dialog to obtain a directory path from the user.

## read_dir

    Declaration  : proc read_dir {dirlist}
    Parameters   :
          Name   : dirlist
          Type   : listbox list
    Description  : name of listbox list

This procedure will read a directory loading all directory names into the listbox list.

## go_up

    Declaration  : proc go_up {}

This procedure will go up one level in the directory tree and read this directory by calling the procedure read_dir.

Goto Top | Tcl Applications | Tcl Software Overview | Tcl Library Overview
| Future Lab Home | Contact Webmaster | Feedback

Copyright © 2006 Future Lab, Last Updated Jul 01, 2006