A Directory Selector for Tcl

This implements a directory selector similar to the standard tcl file selector !
This is pure Tcl code - not a C extension.

Current version is 1.5 (Feb 17 2000) You can download the Tcl/Tk source text :

I you have Tcl plugin installed , use shift<Button> to download the files to avoid the plugin to be launched !

The tkgetdir text is about 15 Kbytes of pure Tcl/Tk code.
The widget will run on Tk8.0 or later.

this is a short manual for this function :

 tk_getDirectory [option value ...]

  options are :
   [-initialdir dir]     display in dir
   [-title string]       make string title of dialog window
   [-ok string]          make string the label of OK button
   [-open string]        make string the label of OPEN button
   [-cancel string]      make string the label of CANCEL button
   [-msg1 string]        make string the label of the first directory message
   [-msg2 string]        make string the label of the second directory message
   [-parent string]      make string the parent of tkgetdir for transient window
   [-geometry string]    make string the geometry (WxH+X+Y)
   [-listbg string]      make string the list and entry background color
   [-listfg string]      make string the list and entry foreground color
   [-selectbg string]    make string the background color for selected directory
   [-selectfg string]    make string the foreground color for selected directory
   [-hilightbg string]   make string the background color for highlighted dir
   [-hilightfg string]   make string the foreground color for highlighted dir
   [-endcolor string]    make string the color for the last directory flag
   [-autovalid]          if it is set : selecting no directory in the window
                          will return the directory the window shows currently
   [-font string]        make string the font name or font description
                          for directory window

for any question or remarks : mail me